Test your strategy skills with this fun and interactive Tic Tac Toe game!
Play against a friend and try to get three in a row to win ๐ฏ
๐ Live Demo
๐ Play Now: https://aryankhanf22.github.io/tic-tac-toe-game/
- ๐ฎ Classic 2-player Tic Tac Toe gameplay
- ๐จ Clean and simple UI with smooth interactions
- โก Instant win and draw detection
- ๐ Restart game functionality
- ๐ฑ Responsive and lightweight design
- Player X starts the game
- Click on an empty box to place your mark
- Players take turns between X and O
- First player to align 3 marks (row, column, or diagonal) wins
- If all boxes are filled with no winner, the game ends in a draw
- HTML5 โ Structure of the game board
- CSS3 โ Styling and layout
- JavaScript โ Game logic and interactivity
tic-tac-toe-game/
โ
โโโ index.html # Main HTML file
โโโ style.css # Styling and layout
โโโ script.js # Game logic
โโโ img.jpg # Game image / preview
โโโ README.md # Project documentation
๐ Getting Started (Run Locally)
- Clone the repository:
git clone https://github.com/aryankhan22/tic-tac-toe-game.git- Navigate to the project folder:
cd tic-tac-toe-game-
Open index.html in your browser
-
Enjoy the game ๐