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: