/Tic-Tac-Toe

Welcome to the Tic-Tac-Toe Challenge! A classic game with a twist - can you outsmart the computer and emerge victorious?

Primary LanguageJavaScript

Tic-Tac-Toe Challenge

Welcome to the Tic-Tac-Toe Challenge! A classic game with a twist - can you outsmart the computer and emerge victorious?/

Tic-Tac-Toe Preview

Game Features

  • Dynamic Board Sizes: Choose your level of challenge with varying board sizes (3x3, 4x4, or 5x5).
  • Player Modes: Play against a friend or test your skills against the computer.
  • Intelligent Computer Move: Experience an AI opponent that strategically plans its moves.
  • Winning Logic: Marvel at the sophisticated logic that determines the winner dynamically based on the board size.
  • Attractive Styling: Enjoy a visually appealing game interface with winning lines highlighted for added excitement.

How to Play

  1. Choose your player mode - compete against a friend or challenge the computer.
  2. Select the desired difficulty level with varying board sizes.
  3. Click on the cells to make your move, and watch the computer respond with calculated moves.
  4. Be the first to complete a line (horizontally, vertically, or diagonally) to win the game!

Technologies Used

  • HTML/CSS/JavaScript: The game is built using the fundamental web technologies for a seamless and interactive experience.

How to Run the Game

  1. Clone the repository.
  2. Open the index.html file in your web browser.
  3. Start playing Tic-Tac-Toe and enjoy the challenge!

Credits

  • Game logic and styling: Mahmoud Mansy
  • Inspired by classic games and AI challenges.

Contact

Feel free to reach out to me any time. I prefer to talk over email, especially since we may be in different time zones.