Welcome to Tic-Tac-Toe, a fun and timeless two-player game where strategy and quick thinking are key! Challenge your friends in a battle of X's and O's on a 3x3 grid. This classic game is perfect for anyone looking to pass the time or engage in some friendly competition.
-
Two-Player Mode
Play with a friend and take turns to mark X's and O's on the grid. -
Interactive Gameplay
Enjoy simple, intuitive controls with an interactive game board. -
Game Reset Option
Easily restart the game to play again after each round. -
Win Detection
The game automatically checks for winning combinations and announces the winner.
- The game is played on a 3x3 grid.
- Players take turns marking a square with either an "X" or an "O."
- The first player to align three of their marks vertically, horizontally, or diagonally wins.
- If all squares are filled without a winner, the game is a draw.
- HTML for the layout of the game board.
- CSS for the styling and visual appeal.
- JavaScript for game logic and interactive features.