Skip to content

This is a single player tictactoe game which utilises basic artificial intelligence principles.

Notifications You must be signed in to change notification settings

SiddharthaRoy1/Unbeatable-TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Unbeatable-TicTacToe

This is a single player tictactoe game which utilises basic artificial intelligence principles. The code recursively searches for the best possible outcome using the minimax algorithm and plays it, and it is impossible to beat it as the algorithm has already searched all the possible moves the human can make at a particular point and played it's move accordingly. On top of that the algorithm gives the shortest winning route for the computer, if it is possible , and it does not matter wether the human is playing a perfect game.

About

This is a single player tictactoe game which utilises basic artificial intelligence principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages