Tic Tac Toe Part 2

Given that playing tic tac toe on a x x by x x board would guarantee the starting player to win, find the smallest value of x x .

Details and assumptions

You win when you get 3 in a line.

Assume that both players play intelligently.


The answer is 4.

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.

2 solutions

Bart Nikkelen
Jun 16, 2014

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.

yeah the answer is 4 you can't make 3 in a line in 2*2 board

varun singhal - 6 years, 11 months ago

What about 1x1 or 2x2?

Lucca Vidal - 6 years, 12 months ago

I agree, the answer is definitely 4. I have no idea why the author thinks it is 5.

Anonymous Anonymous - 6 years, 12 months ago

Log in to reply

Hey, the answer is 4.

Rafael Tages Melo - 6 years, 12 months ago

I apologise for my mistake and will change the answer as soon as possible, I was thinking that a 5 by 5 would allow the centre to open up the greatest number of paths thus confirming a win and failed to take into account a 4 by 4. I'm so sorry

Charlton Teo - 6 years, 12 months ago

ALternatively, why can't you allow 2x2?

Joshua Ong - 6 years, 12 months ago

Log in to reply

You can not get 3 in a row in a 2x2 board.

Steven Perkins - 6 years, 12 months ago

Log in to reply

Well,I've got a different interpretation.The problem says "... on a 3 by 3 board(i.e. 3 in a line yields a win)".Then,if you have a x by x board,x in a line yields a win.

Lucca Vidal - 6 years, 11 months ago

yea ..... 2x2 is the answer to the question

Vighnesh Raut - 6 years, 12 months ago

Can anyone explain to me why 1x1 or 2x2 isn't the solution?The problem says The rules are the same as plating on a 3 by 3 board(i.e. 3 in a line yields a win).Then,on a x by x board, x in a line yields a win.

Lucca Vidal - 6 years, 11 months ago

Log in to reply

I've edited the question to clarify the intent.

Calvin Lin Staff - 6 years, 11 months ago
Viplav Prakash
Jul 10, 2015

Its 4x4, you can't do 2x2 or 1x1 because you can't get 3 in a row with a board that small

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...