Skip to content

parikshitshinge/tic-tac-toe-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

tic-tac-toe-ai

A simple game in Python where player will play against the bot and the player will NEVER win >.<

Used minimax algorithm which calculates all probabilities of player's moves before making bot's move and scores each block accordingly. Then it takes decision which block to choose with maximum score.

Easy to run. Download the program and just run. Obviously, install python3 first.