A simple Tic-Tac-Toe game implemented in JavaScript. Play against a friend and enjoy some classic fun!
- Two-player gameplay
- Simple and intuitive design
- Keeps track of the game's state
- Saves your scores
- Determine the winner or a tie
-
Open the
index.html
file in your preferred web browser. -
Two players take turns to mark an empty cell on the board with their respective symbols (X or O).
-
The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins.
-
If the board is filled and no player has won, the game is a tie.
To run the game locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/tic-tac-toe.git
- Navigate to the project directory:
cd tic-tac-toe
- Open the
index.html
file in your preferred web browser.
Contributions are welcome! If you like to contribute to the project.
Special thanks to Kognise for creating Water.css, the styling framework used in this project.
One of my first JS projects !!!