Skip to content

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.

Notifications You must be signed in to change notification settings

Abshar-Shihab/Tic-Tac-Toe-Game---Mastermind-vs-You

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages