A simple and fun Tic Tac Toe game built using HTML, CSS, and JavaScript.
Play against another player directly in your browser..
👉 https://imnavneetgurjar.github.io/tictactoe/ (Agar GitHub Pages enabled hai to yaha link daalna)
- Classic 2-player Tic Tac Toe game
- Clean and simple UI
- Sound effects for moves and game over
- Instant win/draw detection
- Fully browser-based
- HTML
- CSS
- JavaScript
index.html– Game structurestyle.css– Stylingscript.js– Game logicmusic.mp3– Background musicting.mp3– Move soundgameover.mp3– Game over sound
- Player X starts the game
- Players take turns clicking on the grid
- First player to align 3 symbols wins
- Game resets after win or draw
git clone https://github.com/imnavneetgurjar/tictactoe.git
cd tic-tac-toe