Skip to content

lnn3333/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game using JavaScript.

How to Play

  1. Open your IDE terminal
  2. Clone the repository: git clone https://github.com/lnn3333/p4_frontend.git
  3. Direct to the folder: cd my-app
  4. Run the application: npm start
  5. The game will start automatically.
  6. Players take turns marking empty squares (cells) on a 3x3 grid.
  7. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
  8. If all cells are filled and no player has achieved a winning combination, the game ends in a draw.

Features

  • Player vs Player mode: Two players can take turns on the same device.
  • Responsive Design: The game is playable on both desktop and mobile devices.
  • Simple and intuitive interface.

File Structure

  • index.html: HTML file containing the structure of the game.
  • style.css: CSS file for styling the game interface.
  • script.js: JavaScript file containing the game logic.

Technologies Used

  • HTML
  • CSS
  • JavaScript

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published