Welcome to Tic Tac Toe, a simple web-based game built using HTML, CSS, and JavaScript.
Tic Tac Toe is a classic game where two players take turns marking spaces on a 3x3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
- Play against another player in a turn-based manner.
- Visual indication of the winner.
- Reset the game board to start a new game.
- Simple and intuitive user interface.
- Open the game in your web browser.
- Click on any empty box on the game board to place your mark (either "O" or "X").
- The game will alternate turns between players automatically.
- The game will indicate the winner if there is one, or it will end in a draw if there are no more moves available.
- Click the "Reset" button to start a new game at any time.
This game was built using the following technologies:
- HTML: Structure of the game layout.
- CSS: Styling to make the game visually appealing.
- JavaScript: Logic for game functionality and interactivity.
To run this game locally on your machine:
- Clone this repository to your local machine.
- Open the
index.htmlfile in a web browser. - Start playing Tic Tac Toe!
Contributions to this project are welcome! If you'd like to contribute, feel free to fork this repository and submit a pull request with your changes.