Logo: Relish

  1. Sign in

Project: Tic-tac-toe



Tic-tac-toe is a logic game for two players, X and O, who take turns marking the spaces in a 3x3 grid. The X player usually goes first. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.

Source Code



  1. AI finds optimal positions
  2. AI never loses
  3. AI playing second without losing
  4. Best Position
  5. Place Mark
  6. Players take turns
  7. Ui

Last published over 7 years ago by esambo.