Skip to content

AI based Tic Tac Toe using Min-Max Algorithm ( GUI Supported )

Notifications You must be signed in to change notification settings

akhil838/Tic-Tac-Toe-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This is a Tic-Tac-Toe game implementation using the Minimax algorithm for AI decision-making.
The Minimax algorithm allows the computer to play optimally, guaranteeing a win or a draw against any opponent.

image

Features

  • Play against the computer using the Minimax AI.
  • Clear visual representation of the game board.

Requirements

  • Programming language with libraries for handling 2D grids and user input (e.g., Python with CustomTkinter)

How to Play

  1. Install the Requirements
pip install requirements.txt
  1. Run the game script.
  2. Take turns marking empty spaces on the board by clicking the corresponding cell.
  3. The computer will make its move based on the Minimax algorithm.
  4. The game continues until there is a winner or a draw.

About

AI based Tic Tac Toe using Min-Max Algorithm ( GUI Supported )

Topics

Resources

Stars

Watchers

Forks

Languages