/Tic-Tac-Toe-Game

The Tic Tac Toe Game! This is a simple implementation of the classic Tic Tac Toe game where two players take turns marking spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

Primary LanguageJavaScript

Tic-Tac-Toe-Game

Tic Tac Toe Game

Welcome to the Tic Tac Toe Game! This is a simple implementation of the classic Tic Tac Toe game where two players take turns marking spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

Features

  • Two-player game mode
  • Easy-to-use interface
  • Reset game functionality

How to Play

  1. Open the game here.
  2. Player 1 starts by clicking on any cell in the grid.
  3. Player 2 follows by clicking on an empty cell.
  4. Players take turns until one player wins by placing three of their marks in a row (horizontally, vertically, or diagonally) or until all cells are filled without a winner (resulting in a draw).
  5. Click "New Game" to start a new game or "Reset Game" to reset the current game.

Technologies Used

  • HTML
  • CSS
  • JavaScript

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Thanks to all contributors and users for their feedback and support.

Feel free to report any issues or contribute to the project.

Enjoy the game!