This is a simple implementation of the classic Tic Tac Toe game using JavaScript.
- Open your IDE terminal
- Clone the repository:
git clone https://github.com/lnn3333/p4_frontend.git
- Direct to the folder:
cd my-app
- Run the application:
npm start
- The game will start automatically.
- Players take turns marking empty squares (cells) on a 3x3 grid.
- The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
- If all cells are filled and no player has achieved a winning combination, the game ends in a draw.
- 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.
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.
- HTML
- CSS
- JavaScript
This project is licensed under the MIT License.