Welcome to the Tic Tac Toe Game! This is a classic 2-player game created with HTML, CSS, and JavaScript. Enjoy a sleek design, smooth gameplay, and fun while challenging your friends!
- 2-Player Gameplay: Play with a friend as Player X and Player O.
- Responsive Design: Enjoy the game on both desktop and mobile.
- Winning Line Animation: A cool animation highlights the winning line.
- Restart Button: Reset the board at any time for a fresh game.
- Draw Detection: The game notifies when thereโs a draw.
- Smart UI Feedback: Visual indicators show the current playerโs turn.
- Click on a cell to make your move.
- The game alternates turns between Player X and Player O.
- Win by aligning three of your marks in a row, column, or diagonal.
- If all cells are filled and no one has won, the game will declare a Draw.
- Reset the game at any time using the Restart button.
- HTML: Structure of the game board and elements.
- CSS: Styling for the board, winning animations, and responsive design.
- JavaScript: Game logic, including turn management, win conditions, and draw detection.
Experience the game live: (https://krishna-ox.netlify.app/)
tic-tac-toe/
โโโ index.html # HTML structure
โโโ style.css # Styling for the game
โโโ script.js # Game logic
โโโ README.md # Project documentation
