The Stack Overflow podcast is back! Listen to an interview with our new CEO.

A game, also known as "Naughts and Crosses", in which players take turns placing marks on a 3 × 3 grid in an attempt to form a line of three consecutive marks. You can also use this tag for variants of the game.

Also known as "Naughts and Crosses", Tic-tac-toe is a in which players take turns placing X and O marks on a 3 × 3 grid. The first player to form a line of three consecutive marks, either horizontally, vertically, or diagonally, wins.

If each player plays optimally, the game should always end in a draw.

See also: .

history | excerpt history