Given that playing tic tac toe on a by board would guarantee the starting player to win, find the smallest value of .
Details and assumptions
You win when you get 3 in a line.
Assume that both players play intelligently.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Why is the solution not 4? How can the second player counter a move by the first on one of the middle squares? The first player can always get two in a row with both ends open in two moves, which means he can get 3 in a row in 3 moves.