In this video, we’re going to be building a Tic Tac Toe or Noughts and Crosses shield for an Arduino. The code allows for three game modes, one for turn-by-turn two-player games and then two different levels of difficulty when playing against an AI opponent. The AI uses a minimax algorithm to evaluate the state of the game board and then select the best move to play in order to minimise the opponent’s chance of winning the game.
Subscribe: https://www.youtube.com/c/MichaelKlements/featured
#arduino