Skip to content

tclemente/TicTacToeMinimax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToeMinimax

Tic Tac Toe for Unity3d in C# using Minimax

This is an implementation of the Minimax algorithm for Tic Tac Toe, written in C#. The computer will play a perfect game as a result of the algorithm, making the best possible outcomes for the player either a draw or a loss. Prefabs for the board and X and O pieces are included.

To play the game, I have mapped the keyboard to place each 'X' piece for the player, as follows:

Control sheet

#Screenshots Loss Draw

About

Tic Tac Toe for Unity3d in C# using Minimax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages