image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

image Wrap around Tic-Tac-Toe Share It Thread Tools Search this Thread image
Old Feb9-09, 01:26 AM                  #1
maze

maze is Offline:
Posts: 654
Wrap around Tic-Tac-Toe

If you play tic-tac-toe on a torus (the board wraps around), would you prefer to move first or second, or does it matter?

EG,
x wins:
X O ..
.. O X
.. X ..

o wins:
X .. X
O O O
X .. ..
  Reply With Quote
Old Feb10-09, 03:31 PM                  #2
davee123

davee123 is Offline:
Posts: 468
Re: Wrap around Tic-Tac-Toe

Originally Posted by maze View Post
If you play tic-tac-toe on a torus (the board wraps around), would you prefer to move first or second, or does it matter?
It seems that if you go first, you can always force a win. You could lose if you tried to (while going 1st), but you can always win if you go first. And actually, I think you're destined never to have a tie game, either.

DaveE
  Reply With Quote
Old Feb10-09, 04:18 PM                  #3
Hurkyl

PF Mentor
 
Hurkyl's Avatar

Hurkyl is Offline:
Posts: 13,011
Re: Wrap around Tic-Tac-Toe

It's a theorem that for all games of this type, the first player has a non-losing strategy.


The proof goes as follows: suppose player 2 has a winning strategy. Then player one has a winning strategy as follows:

1. Place his first piece randomly (this will now be called the 'extra' piece)

2. Pretend the extra piece doesn't exist
Note that, when pretending this, he becomes player 2 in his pretend game
3. Use player 2's winning strategy to win[indent]Note that if the winning strategy ever asks him to play a piece where he's already put his extra piece, then he just stops pretending it's extra, and makes a random play, now considering that piece the extra piece[indent]

Since both players cannot win, we have a contradiction. Therefore, there exists a player 1 strategy that guarantees player 2 cannot win.



Of course, there are variations you can make to defeat this technique... but you didn't make one.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Wrap around Tic-Tac-Toe
Thread Thread Starter Forum Replies Last Post
trying to wrap my head around dimensions Green Zach General Physics 3 Nov11-08 03:20 AM
How to wrap parcels wolram General Discussion 29 Dec18-07 06:29 PM
LATEX Wrap Tags buhthestuh Forum Feedback & Announcements 2 Mar29-06 02:45 PM
Bubble wrap. matthyaouw General Discussion 40 Oct17-05 04:55 PM
need some good minds to wrap around this xild Scepticism & Debunking 37 Apr7-05 05:32 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image