Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1000 Bytes

File metadata and controls

20 lines (16 loc) · 1000 Bytes

Tic-Tac-Toe-Game---Mastermind-vs-You

Welcome to the Tic-Tac-Toe Game! This is a C++ implementation of the classic Tic-Tac-Toe game, where you can play against a friend or challenge a computer AI that strives to win using strategic moves.


Features

  • Play Modes:
    • Player vs. Player: Play against a friend locally.
    • Player vs. Computer: Compete against an AI that predicts and counters your moves.
  • Smart AI: The AI is designed to make strategic decisions, making the game challenging and fun.
  • Clean and Simple Interface: Easy-to-use console-based UI for a straightforward gaming experience.

How to Play

  1. Clone the repository.
  2. Compile the C++ code using a C++ compiler.
  3. Run the executable and choose your game mode.
  4. Enjoy the game!

How It Works

The AI uses a decision-making algorithm to predict and select the best possible moves. The algorithm evaluates the current board state and attempts to either win or block the player's winning move.