/Tic-Tac-Toe-by-Rayhaan-in-html

"Tic Tac Toe" Game in HTML

Primary LanguageHTMLMIT LicenseMIT

Tic Tac Toe by Rayhaan in html

Tic Tac Toe A classic Tic Tac Toe game built with HTML, CSS, and JavaScript.

Demo

Tic Tac Toe by Rayhaan-in html

Features

  • Interactive 3x3 game board
  • Tracks the current player's turn
  • Detects and highlights winning moves
  • Displays a win or draw message
  • Allows players to restart the game

How to Play

  1. Click on an empty cell to make your move.
  2. The game will automatically switch to the other player's turn.
  3. Try to get three of your marks (X or O) in a row (horizontally, vertically, or diagonally) to win.
  4. If all cells are filled and no one has won, the game ends in a draw.
  5. Click the "Restart" button to start a new game.

Technologies Used

  • HTML
  • CSS
  • JavaScript

🔗 Links

portfolio linkedin

License

This project is licensed under the Creative Commons Zero v1.0 Universal License. See LICENSE for details.

Authors

@rayhaangeneral

Support

For support, visit our website http://rayhaangeneral.gq

Contributing

If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Contributions are welcome!