A classic two-player Tic-Tac-Toe game built with HTML, CSS, and JavaScript.
You can play the game online here:
https://yanough.github.io/browser-tic-tac-toe/
- Interactive Gameplay: Simple and clean 3x3 grid.
- Score Tracking: Keeps track of Player 1 (X) and Player 2 (O) wins.
- Round Management: Displays the current round number.
- Win & Draw Detection: Automatically detects winners and highlights the winning cells.
- Game Reset: Features a "Start a new game" button to reset the board.
- Game Over Logic: Resets the score once a player reaches 5 points.
- HTML5: Semantic structure.
- CSS3: Styling and layout.
- JavaScript (ES6): Game logic and DOM manipulation.
This project was developed as a university exercise to practice JavaScript fundamentals, event handling, and managing game state in the browser.
Diba Yanough