Skip to content

TicTacToe is a fun game, implemented using Minimax algorithm

Notifications You must be signed in to change notification settings

AjaySurya-018/TicTacToe-AI-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe-AI-Game

Using Minimax to implement an AI to play Tic-Tac-Toe optimally.

image

Understanding

There are two main files in this project: runner.py and tictactoe.py. tictactoe.py contains all of the logic for playing the game, and for making optimal moves. runner.py contains all of the code to run the graphical interface for the game.

What is Minimax ?

A type of algorithm in adversarial search, Minimax represents winning conditions as (-1) for one side and (+1) for the other side. Further actions will be driven by these conditions, with the minimizing side trying to get the lowest score, and the maximizer trying to get the highest score.

Releases

No releases published

Packages

No packages published

Languages