A simple, interactive Tic Tac Toe game implemented using HTML, CSS, and JavaScript.
- 3x3 grid Tic Tac Toe gameplay
- Alternating turns between X and O players
- Win detection for all possible combinations
- Draw detection
- Reset game functionality
- Open the game in a web browser
- Click on empty cells to place X or O
- The game will automatically detect wins or draws
- Use the "Reset Game" button to start over
- Click the "Run on Repl.it" badge above
- Wait for the project to load
- Click the "Run" button at the top of the Replit interface
- Open the web preview or the provided URL to play the game
index.html
: Game structure and layoutstyles.css
: Game styling and designscript.js
: Game logic and interactivity.replit
: Replit configuration filereplit.nix
: Nix package management configuration
No additional setup required. Simply clone the repository and open index.html
in a web browser.