This is a Tic Tac Toe game built with HTML, CSS, and JavaScript. It is a simple and fun game where two players take turns marking X and O on a 3x3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
Check out the live demo of the game here.
- Simple and easy to play
- Two-player game
- Displays the winner of the game
- Resets the game after a win or a draw
- Installation
git clone https://github.com/Andrew-Tsegaye/Tic_Tac_Toe_Game_JS.git
Open index.html
in your web browser.
- Player 1 clicks on an empty square on the grid to place their mark (X).
- Player 2 clicks on an empty square on the grid to place their mark (O).
- Players take turns until one of them wins by placing three of their marks in a horizontal, vertical, or diagonal row, or the game ends in a draw.
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are always welcome! Please feel free to open a new issue or submit a pull request.