Tic-Tac-Toe

Development

  • This game was developed using Unity game engine and C# as programming language

Game classes

  • Board: represents the game board as a two-dimensional array of integers.
  • Move: represents a move in the game. Contains row and column of the move.
  • BoardUI: displays the board for the user.
  • GameManager: responsible for starting a new game, managing turns between players and ending a game.
  • Minimax: contains the implementation of the minimax algorithm. GameManager is resposible for creating and calling the minimax when it's the computer's turn.

Built With

Share this project:

Updates