/tic-tac-toe-ai

This project is a simple implementation of the classic Tic Tac Toe game using HTML, CSS3, and JavaScript. It features two playing modes (Player vs Player and Player vs AI)

Primary LanguageJavaScript

Tic Tac Toe Game

This project is a simple implementation of the classic Tic Tac Toe game using HTML, CSS3, and JavaScript. It features two playing modes (Player vs Player and Player vs AI)

Technologies Used

  • HTML
  • CSS
  • JavaScript

Features

  • Play against an opponent.
  • Responsive design for different screen sizes.
  • Basic AI strategy implemented for opponent moves.

How to Play

  1. Clone the repository.
  2. Open index.html in your browser.
  3. Click on any empty cell to make your move.
  4. The opponent will automatically make its move after you.

Development

  • The game logic is implemented in index.js.

Link

Future Improvements

  • Implement a more sophisticated AI algorithm for a more challenging opponent.
  • Add multiplayer support for playing against another person locally or online.