Skip to content

Python Tic Tac Toe with Minimax AI Conquer Tic Tac Toe with an unbeatable AI built using Python and the powerful Minimax algorithm.

Notifications You must be signed in to change notification settings

siddhantkokate11/Tic-Tac-Toe-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Tic Tac Tow with AI

This is a Tic Tac Toe game implementation featuring an intelligent AI opponent powered by the Minimax algorithm. The Minimax algorithm allows the AI to strategically evaluate all possible moves and select the one that leads to the most favorable outcome (win or draw).

Game Instructions :

  • press 'R' to restart the game
  • press 'M' to change gamemode (pvp or ai)
  • press '0' to change ai level to 0 (random)
  • press '1' to change ai level to 1 (unbetable)

(First restart and then choose options above)

Screenshots :

Start

s_3

Player 1 Wins

s_4

Player 2 Wins

s_1

DRAW

s_2

Releases

No releases published

Packages

No packages published

Languages