Tic-tac-toe (also known as noughts and crosses or Xs and Os) is for one player, X and O, who take turn marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.