A simple web-based Tic-Tac-Toe game implemented in JavaScript.
This project implements a classic Tic-Tac-Toe game where two players take turns marking spaces in a 3x3 grid to achieve three marks in a row, column, or diagonal. The game provides feedback on the current player's turn, announces the winner when a player achieves a winning condition, and declares a draw when no more moves are possible.
- Click on a cell: To place your mark (either "X" or "O").
- Winning Conditions: Achieve three of your marks in a row, column, or diagonal.
- Game Status: The status display shows whose turn it is ("X" or "O"), announces the winner, or declares a draw.
- Restart Game: Click the "Restart" button to reset the game and start over.
You can try out the live version of this Tic-Tac-Toe game here.
- HTML
- CSS
- JavaScript
This game was created by David Kawadkar.