• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:33
CEST 05:33
KST 12:33
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting5[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)75Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting The New Patch Killed Mech! Ladder Impersonation (only maybe) Weekly Cups (Oct 6-12): Four star herO
Tourneys
LiuLi Cup - September 2025 Tournaments SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Tenacious Turtle Tussle
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
Pros React To: BarrackS + FlaSh Coaching vs SnOw After 20 seasons we have a lot of great maps Whose hotkey signature is this? BW caster Sayle BW General Discussion
Tourneys
SC4ALL $1,500 Open Bracket LAN [ASL20] Semifinal B [Megathread] Daily Proleagues [ASL20] Semifinal A
Strategy
Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1801 users

Math Problem

Forum Index > General Forum
Post a Reply
Normal
mmp
Profile Blog Joined April 2009
United States2130 Posts
Last Edited: 2009-06-03 17:51:56
May 28 2009 21:26 GMT
#1
Alyssa and Ben play a game of 2-Tic-Tac-Toe on a 2x2 grid. Alyssa and Ben take turns claiming territory until one player makes 2-in-a-row with their territory. Alyssa goes first, and it is obvious that she always wins.

Extend this to 3-Tic-Tac-Toe for a 3x3x3 cube. It is less readily apparent that Alyssa can still win every time. Assume Alyssa plays optimally, so she doesn't make mistakes or throw the game for Ben (who is very miserable losing over and over again).

To be clear, a 2-TTT game has 6 winning positions across 2 dimensions (4 orthogonal and 2 diagonal). So a 3-TTT game has 27 1-dimensional wins, 18 over 2 dimensions, and 4 over 3 dimensions.

Edit: An n-TTT game is defined to have n^n cells over n dimensions. A 4-TTT game therefore has 256 cells over 4 dimensions, and is a 4-dimensional hypercube. To visualize: draw a 4x4 grid of 16 smaller 4x4 grids. You can win 4-TTT on just one grid, across a row of 4 grids, or diagonally across the grids (marking one cell in each grid). In this image there are 5 winning arrangements.
+ Show Spoiler +
web.mit.edu/mikemp/Public/4-TTT.png


Prove/disprove that Alyssa has a winning strategy for any n-TTT game.

Hint:
+ Show Spoiler +


This problem hinges on whether or not it is possible for the game to draw.

Case 1: A draw is possible for all n.
Case 2: A draw is possible for some n.
Case 3: A draw is impossible.

Credit to Muirhead for intuition regarding the third case:
+ Show Spoiler +

Assume that Ben (who plays second) has a winning strategy. Alyssa plays first in any location, and subsequently will play out Ben's strategy as though she were second to play. Any time Alyssa's strategy would require a move in a place she already owns, she simply takes another arbitrarily since she already owns the location mandated by her strategy. By deferring the initiative Alyssa steals Ben's strategy, thus forming a contradiction. By this contradiction Ben cannot have a winning strategy if a draw is impossible.

A subtle point: Alyssa's first move does not jeopardize the strategy she stole from Ben, since it does not lend Ben any stronger of a strategy. Alyssa loses no options by making this move, although her opponent is weakened.


Intuition says that case 3 is reality, but a proof is still necessary. Can you think of a clean or elegant way of showing that a completely filled n-TTT board must contain an n-in-a-row?


This is a game that I played with a friend way before getting into SC. We played for n=4,5. Hope that you enjoy the problem!
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
Xenixx
Profile Joined June 2008
United States499 Posts
May 28 2009 21:27 GMT
#2
I was told there would be no math involved upon registering. 1 post wonder.
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2009-05-28 21:39:13
May 28 2009 21:31 GMT
#3
1. post math problem.
2. claim you know the solution.
3. ???
4. reap answers!
Hates Fun🤔
RaGe
Profile Blog Joined July 2004
Belgium9947 Posts
May 28 2009 21:38 GMT
#4
Is a Min-Max tree an allowed solution? Or is that computing the problem instead of solving it?
Moderatorsometimes I get intimidated by the size of my right testicle
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:38 GMT
#5
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
Xenixx
Profile Joined June 2008
United States499 Posts
May 28 2009 21:41 GMT
#6
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.


Well you shouldn't apologize because now you have 2 posts. See how easy that was?
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 28 2009 21:45 GMT
#7
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:48 GMT
#8
RaGe: assume that n can be arbitrarily (and infinitely) large. Computing a winning solution for some constant n is cool, but there will always be a larger n so it doesn't help very much in the proof.

You are proving that Alyssa's winning strategy *exists* for any n-TTT. The method by which she wins is not the intent of this problem.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:51 GMT
#9
On May 29 2009 06:45 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.


I read your problems. Fun stuff.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 28 2009 21:51 GMT
#10
so if I pick n, my playboard will be n^n size?
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
RaGe
Profile Blog Joined July 2004
Belgium9947 Posts
Last Edited: 2009-05-28 22:04:37
May 28 2009 21:53 GMT
#11
On May 29 2009 06:51 evanthebouncy! wrote:
so if I pick n, my playboard will be n^n size?

edit: i read it as n x n sorry lol
Moderatorsometimes I get intimidated by the size of my right testicle
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:53 GMT
#12
On May 29 2009 06:51 evanthebouncy! wrote:
so if I pick n, my playboard will be n^n size?


That is correct. a 4-TTT game is 4x4x4x4, or 256 cells that can be claimed over 4 dimensions.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
jonnyp
Profile Blog Joined May 2009
United States415 Posts
May 28 2009 21:56 GMT
#13
we have a math subculture? awesome ill mosey over to your blog now
The number of years it takes for the Internet to move past anything is way, way over 9000.
bellweather
Profile Blog Joined April 2009
United States404 Posts
Last Edited: 2009-05-28 22:12:29
May 28 2009 22:05 GMT
#14
On May 29 2009 06:45 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.


I'm really lazy. Link?
Interesting problem. I'm trying to do the proof by induction, not working out well, haha.

Edit: Nevermind, found it.=)
A mathematician is a blind man in a dark room looking for a black cat which isnt' there. -Charles Darwin
Macavenger
Profile Blog Joined January 2008
United States1132 Posts
May 28 2009 22:29 GMT
#15
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.
toopham
Profile Blog Joined December 2005
United States551 Posts
Last Edited: 2009-05-28 22:43:53
May 28 2009 22:39 GMT
#16
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


Your method sounds perfect for this problem but I'm not quite so sure about the proof itself. I just don't get it as it is worded poorly xD

Edit: Got it.
DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
May 28 2009 22:43 GMT
#17
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.
Macavenger
Profile Blog Joined January 2008
United States1132 Posts
May 28 2009 22:52 GMT
#18
On May 29 2009 07:43 hixhix wrote:
Show nested quote +
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.

Shouldn't matter. The first player can do the n-1 dimensions in any order, skipping around in them according to what the second player is doing, etc. Also, the first player has n directions to radiate out from his initial play into the nth dimension, and only n-1 of them can be blocked before the second player is forced to respond.

Probably should have written something about that in, but like I said, I'm bad at these, even 3 years ago when I was last in practice at writing them :p
toopham
Profile Blog Joined December 2005
United States551 Posts
May 28 2009 22:55 GMT
#19
On May 29 2009 07:43 hixhix wrote:
Show nested quote +
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.


I think the keyword is simultaneously. If he attack the n dimension then the other dimensions are vulnerable for attack, which the 2nd player will have to block eventually as it becomes a threat thus giving an opening for the n-dimension.

Another way of thinking is since we assume the n-1 dimensions is optimal, if the 2nd player block on the n-dimension then the 1st player will have 1 extra move on the n-1 dimensions which would win him the game on the n-1 dimensions.
DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-28 23:19:47
May 28 2009 23:17 GMT
#20
So let's do an example.

First player picks the corner (1, 1, 1). Consider the 2-dimension grid (1, x, y), now there are 3 possible winning positions for player 1.

Second player picks (1, 1, 2), then what happens next? I know the strategy for first player to win, but I fail to see how it reduces to 2x2 grid game.
cz
Profile Blog Joined August 2007
United States3249 Posts
Last Edited: 2009-05-28 23:36:30
May 28 2009 23:35 GMT
#21
I've worked it out, though if you don't understand recursive-embedded matrix terminology it will be hard to understand:

Answer:+ Show Spoiler +
bout tree fiddy
outqast
Profile Joined October 2005
United States287 Posts
May 29 2009 00:13 GMT
#22
On May 29 2009 08:17 hixhix wrote:
So let's do an example.

First player picks the corner (1, 1, 1). Consider the 2-dimension grid (1, x, y), now there are 3 possible winning positions for player 1.

Second player picks (1, 1, 2), then what happens next? I know the strategy for first player to win, but I fail to see how it reduces to 2x2 grid game.


I may be misinterpreting a winning strategy, but I think any time when you have n adjacent units together in an n TTT game you win.

The way I'm envisioning the problem:

Start in dimension 1 (in this case your z)

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension). The optimal choice could be a number of things for the sake of argument, suppose you chose (1,2,2)

Once you "win" that dimension, by definition you can also win in the next dimension (lets say the x dimension). Suppose the opposing player chooses (1,3,3). You can win the x dimension, by choosing any adjacent square in the x-dimension adjacent to (1,1,1) suppose you chose (2,1,1)

You then have a string of (2,1,1), (1,1,1), and (1,2,2).

I think this is problem is isomorphic to just playing the (2x2) game over and over again, and asking whether you can win every time.

However, I might be misinterpreting a winning strategy.
jeppew
Profile Joined April 2009
Sweden471 Posts
Last Edited: 2009-05-29 00:33:43
May 29 2009 00:32 GMT
#23
but if you think of it as winning in the N=2 game over and over again you miss the that let's say in N=4 you win in the corner, then the next move is your oppononets, thus it's not a string of 2x2 games where you start and can apply the same strategy.

edit: i think you're on the right track though, proof by induction seems to be the correct way to do it.
outqast
Profile Joined October 2005
United States287 Posts
May 29 2009 01:01 GMT
#24
On May 29 2009 09:32 jeppew wrote:
but if you think of it as winning in the N=2 game over and over again you miss the that let's say in N=4 you win in the corner, then the next move is your oppononets, thus it's not a string of 2x2 games where you start and can apply the same strategy.

edit: i think you're on the right track though, proof by induction seems to be the correct way to do it.


I think I may have been a little vague about the last statement. If one views the battle to win each dimension as a repetition of the 2x2 game, then it is isomorphic. Which essentially is the induction proof.
hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-29 01:25:17
May 29 2009 01:08 GMT
#25
On May 29 2009 09:13 outqast wrote:
....

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension)....
....


This is so wrong. As I said before, the second player can choose to play any where, he's not forced to play within the reduced space as assumed in many posts here.

For example, assuming the 4^4 space, the first player chooses (1, 1, 1, 1), then second player chooses (3, 2, 4, 4), those belong to disjoint spaces (there exists no space that contain a valid row (length 4) and contain both points) and from the point of view of the second player, he becomes the "first player" to play in his space.

I'm not saying that there is no winning strategy for the first player, I'm saying that the argument has been dicussed so far saying that n-dimension space can be reduced to (n-1)-dimension space is incorrect.
outqast
Profile Joined October 2005
United States287 Posts
May 29 2009 01:24 GMT
#26
On May 29 2009 10:08 hixhix wrote:
Show nested quote +
On May 29 2009 09:13 outqast wrote:
....

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension)....
....


This is so wrong. As I said before, the second player can choose to play any where, he's not forced to play within the reduced space as assumed in many posts here.

For example, assuming the 4^4 space, the first player chooses (1, 1, 1, 1), then second player chooses (3, 2, 4, 4), those belongs two completely different spaces and from the point of view of the second player, he becomes the "first player" to play in his space.

I'm not saying that there is no winning strategy for the first player, I'm saying that the argument has been dicussed so far saying that n-dimension space can be reduced to (n-1)-dimension space is incorrect.


It is the ability to "win" in that dimension, i.e. adjoin two units together, not the ability to play in the dimension. By the nature of the game, once you have started playing you have "played in all of the dimensions."

Note: There are a vast amount of winning strategies from any point in the game. They have just identified one that works.


hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-29 01:53:28
May 29 2009 01:40 GMT
#27
I guess there is a big misunderstanding. Let's formalize the problem and all definitions and so it's easier to discuss.

Problem:
Given an n-dimension space, a valid point X in this space is represented by n coordinates X(a1, ..., an) where 1 <= ai <= n for all i from 1 to n.

A valid row is a set of n points X1, ... Xn where each Xi is a valid point and Xi = X1 + (i-1) * V, V is an n-dimension vector V(v1, v2, ..., vn), vj = 0 or 1 for all j, and there is at least one non-zero vj.

Assuming there is an algorithm A that allows the first player to choose points forming a valid row in a (n-1)-dimension space, prove that first player can use A to choose points forming a valid row in an n-dimension space.

...

Let's play with a small space (3-dimension), you're the first player and you have the algorithm A, I'm the second player. Can you step by step show me how the first player *use* A to choose a valid row of 3 points. (algorithm A guarantees that you can choose a valid row of size 2 in a 2-dimension space).

First player picks the corner (1, 1, 1).

Second player (me), picks (1, 1, 2).

Now, what's your next move (based on algorithm A & your reduction protocol) ?
toopham
Profile Blog Joined December 2005
United States551 Posts
May 29 2009 01:57 GMT
#28
On May 29 2009 10:40 hixhix wrote:
I guess there is a big misunderstanding. Let's formalize the problem and all definitions and so it's easier to discuss.

Problem:
Given an n-dimension space, a valid point X in this space is represented by n coordinates X(a1, ..., an) where 1 <= ai <= n for all i from 1 to n.

A valid row is a set of n points X1, ... Xn where each Xi is a valid point and Xi = X1 + (i-1) * V, V is an n-dimension vector V(v1, v2, ..., vn), vj = 0 or 1 for all j, and there is at least one non-zero vj.

Assuming there is an algorithm A that allows the first player to choose points forming a valid row in a (n-1)-dimension space, prove that first player can use A to choose points forming a valid row in an n-dimension space.

...

Let's play with a small space (3-dimension), you're the first player and you have the algorithm A, I'm the second player. Can you step by step show me how the first player *use* A to win. (algorithm A guarantees that you can choose a valid row in a 2-dimension space).

First player picks the corner (1, 1, 1).

Second player (me), picks (1, 1, 2).

Now, what's your next move (based on algorithm A & your reduction protocol) ?


Calling each dimension x,y, and z
So you picked (1,1,2) which is the z dimension,
Thus I will use my A algorithm on dimension x and y at point (1,2,1) Thus I have 2.
You are force to go (1,3,1) or else I will win.
Now I will use my A algorithm on dimension y and z so I go (1,2,2)
You are force to go (1,3,3) to stop me from forming a diagonal on the y and z dimension.
Now I go (1,2,3) and I win.
I have (1,2,1) ( 1,2,2) and (1,2,3)

By using my A algorithm I control where you move next because You are force to go there to stop me. Thus I basically control your every move after your first move.
DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-29 02:12:01
May 29 2009 02:11 GMT
#29
On May 29 2009 10:57 toopham wrote:
Show nested quote +
On May 29 2009 10:40 hixhix wrote:
I guess there is a big misunderstanding. Let's formalize the problem and all definitions and so it's easier to discuss.

Problem:
Given an n-dimension space, a valid point X in this space is represented by n coordinates X(a1, ..., an) where 1 <= ai <= n for all i from 1 to n.

A valid row is a set of n points X1, ... Xn where each Xi is a valid point and Xi = X1 + (i-1) * V, V is an n-dimension vector V(v1, v2, ..., vn), vj = 0 or 1 for all j, and there is at least one non-zero vj.

Assuming there is an algorithm A that allows the first player to choose points forming a valid row in a (n-1)-dimension space, prove that first player can use A to choose points forming a valid row in an n-dimension space.

...

Let's play with a small space (3-dimension), you're the first player and you have the algorithm A, I'm the second player. Can you step by step show me how the first player *use* A to win. (algorithm A guarantees that you can choose a valid row in a 2-dimension space).

First player picks the corner (1, 1, 1).

Second player (me), picks (1, 1, 2).

Now, what's your next move (based on algorithm A & your reduction protocol) ?


Calling each dimension x,y, and z
So you picked (1,1,2) which is the z dimension,
Thus I will use my A algorithm on dimension x and y at point (1,2,1) Thus I have 2.
You are force to go (1,3,1) or else I will win.
Now I will use my A algorithm on dimension y and z so I go (1,2,2)
You are force to go (1,3,3) to stop me from forming a diagonal on the y and z dimension.
Now I go (1,2,3) and I win.
I have (1,2,1) ( 1,2,2) and (1,2,3)

By using my A algorithm I control where you move next because You are force to go there to stop me. Thus I basically control your every move after your first move.


First, in the reduced space, it's only 2x2, if you just said xy- at (1, 2, 1), it's 2-dimension space of size 3x3. Please specify what the reduced space is.

Anyway, you can ignore that because the example was the intention, the second player chooses the point in the same space with the first player.

How about this:

First player: (1, 1, 1)
Second player: (1, 2, 2)

And when you reduce to the trivial case, please specify 2-dimension space of size 2x2 .
toopham
Profile Blog Joined December 2005
United States551 Posts
May 29 2009 02:19 GMT
#30
On May 29 2009 11:11 hixhix wrote:
Show nested quote +
On May 29 2009 10:57 toopham wrote:
On May 29 2009 10:40 hixhix wrote:
I guess there is a big misunderstanding. Let's formalize the problem and all definitions and so it's easier to discuss.

Problem:
Given an n-dimension space, a valid point X in this space is represented by n coordinates X(a1, ..., an) where 1 <= ai <= n for all i from 1 to n.

A valid row is a set of n points X1, ... Xn where each Xi is a valid point and Xi = X1 + (i-1) * V, V is an n-dimension vector V(v1, v2, ..., vn), vj = 0 or 1 for all j, and there is at least one non-zero vj.

Assuming there is an algorithm A that allows the first player to choose points forming a valid row in a (n-1)-dimension space, prove that first player can use A to choose points forming a valid row in an n-dimension space.

...

Let's play with a small space (3-dimension), you're the first player and you have the algorithm A, I'm the second player. Can you step by step show me how the first player *use* A to win. (algorithm A guarantees that you can choose a valid row in a 2-dimension space).

First player picks the corner (1, 1, 1).

Second player (me), picks (1, 1, 2).

Now, what's your next move (based on algorithm A & your reduction protocol) ?


Calling each dimension x,y, and z
So you picked (1,1,2) which is the z dimension,
Thus I will use my A algorithm on dimension x and y at point (1,2,1) Thus I have 2.
You are force to go (1,3,1) or else I will win.
Now I will use my A algorithm on dimension y and z so I go (1,2,2)
You are force to go (1,3,3) to stop me from forming a diagonal on the y and z dimension.
Now I go (1,2,3) and I win.
I have (1,2,1) ( 1,2,2) and (1,2,3)

By using my A algorithm I control where you move next because You are force to go there to stop me. Thus I basically control your every move after your first move.


First, in the reduced space, it's only 2x2, if you just said xy- at (1, 2, 1), it's 2-dimension space of size 3x3. Please specify what the reduced space is.

Anyway, you can ignore that because the example was the intention, the second player chooses the point in the same space with the first player.

How about this:

First player: (1, 1, 1)
Second player: (1, 2, 2)

And when you reduce to the trivial case, please specify 2-dimension space of size 2x2 .


For the first example my winning diagonal was in the 3x3 of the y and z plane with x=1.
your move (1,2,2) stopped me from winning in the y and z 3x3.
So now I will just do the same strategy but I will use it on the x and y plane with z=1.

IF I go (2,1,1) i create a row of 2. The reduced space is the 2x2 of the x and z or x and y.
Either one works, you pick.

But I will go (2,2,1) So that it's obvious the reduced space is x and y.
You are forced to go (3,3,1) to stop me
So I go (1,2,1)
Now you go (1,3,1) to stop me from winning.
Now I go (3,2,1) to win
I have (2,2,1) (1,2,1) and (3,2,1)



DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-29 02:47:55
May 29 2009 02:46 GMT
#31
Hmm, I'm still not convinced. It's not like you use algorithm A at all and winning strat for 3-dimension space is simple. In this small space, you can control the next move of the second player since each row is size of 3, forcing him to block right away. However, in case of larger spaces, say 100-dimension space, you can't force him to play in the next move. He can always wait until a valid row is formed 90+ % and just chooses 1 point to block it.

Also, there is no guarantee that a valid row in a (n-1)-dimension space can lead to a valid row in n-dimension space.

For example, assuming the following is a 2-dimension cut from a 4-dimension space
o o x o
o x o o
x o o o
o o o o

"x x x" is a valid row in the 2-dimension space of size 3 but it can't lead to a valid row in 2-dimension of size 4.

Anyway, I guess we cant agree, let's relax.
mmp
Profile Blog Joined April 2009
United States2130 Posts
Last Edited: 2009-06-03 16:53:20
June 03 2009 16:35 GMT
#32
Hint:
+ Show Spoiler +

This problem hinges on whether or not it is possible for the game to draw.

Case 1: A draw is possible for all n.
Case 2: A draw is possible for some n.
Case 3: A draw is impossible.

Credit to Muirhead for intuition regarding the third case:
+ Show Spoiler +

Assume that Ben (who plays second) has a winning strategy. Alyssa plays first in any location, and subsequently will play out Ben's strategy as though she were second to play. Any time Alyssa's strategy would require a move in a place she already owns, she simply takes another arbitrarily since she already owns the location mandated by her strategy. By deferring the initiative Alyssa steals Ben's strategy, thus forming a contradiction. By this contradiction Ben cannot have a winning strategy if a draw is impossible.

A subtle point: Alyssa's first move does not jeopardize the strategy she stole from Ben, since it does not lend Ben any stronger of a strategy. Alyssa loses no options by making this move, although her opponent is weakened.


Intuition says that case 3 is reality, but a proof is still necessary. Can you think of a clean or elegant way of showing that a completely filled n-TTT board must contain an n-in-a-row? (I am trying to prove this myself at the moment).
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
opsayo
Profile Blog Joined July 2008
591 Posts
Last Edited: 2009-06-03 22:43:51
June 03 2009 22:30 GMT
#33
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.

I disagree with this, maybe this is the right approach, but as I see how it is worded, I don't think this is a conclusive proof.

Let's say we have a winning strategy in the n-1 dimension, that means we have a string of n-1 length in an n dimensioned TTT game. However, it is now the second players turn to make a move, and can immediately "corner" off the n-1 length string (since all the strings are only 1 dimensional), thus negating the n-1 length string which would have won in an n-1 TTT game, but is now blocked in an n dimensioned game.

edit:
Let's say you're in the very first n-1th x n-1th dimension, trying to force an n-1 string. Since you have assumed in the induction step that you can indeed do this, you force a string of n-1. However, he goes second and blocks it, while you start the next iteration in the next n-1th x n-1th dimension. You go first, but you went first in the first iteration as well, and makes no difference. In order to succeed, you need to force two threatening strings simultaneously. That is in order to succeed in the n-1 dimension TTT game, you are forcing two n-2 dimensional strings. To win in an n-dimensioned game you need to force two n-1 strings simultaneously, which I don't think you can do with this approach.

This is also why I don't think all cases are simply analogous to the base case(s). In a 1 dimensional game, your first move forces a win, but before you've won, you have threatened with 1 possible win condition. In a 2 dimensional game, your first move threatens 3 possible win conditions. In a 3 dimensional game, it takes a few moves (do it in your head), but your final win condition comes out to threatening only 2 win conditions. I imagine following this step, the rest of them threaten only 2 simultaneous conditions.

On May 29 2009 10:24 outqast wrote:
Show nested quote +
On May 29 2009 10:08 hixhix wrote:
On May 29 2009 09:13 outqast wrote:
....

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension)....
....


This is so wrong. As I said before, the second player can choose to play any where, he's not forced to play within the reduced space as assumed in many posts here.

For example, assuming the 4^4 space, the first player chooses (1, 1, 1, 1), then second player chooses (3, 2, 4, 4), those belongs two completely different spaces and from the point of view of the second player, he becomes the "first player" to play in his space.

I'm not saying that there is no winning strategy for the first player, I'm saying that the argument has been dicussed so far saying that n-dimension space can be reduced to (n-1)-dimension space is incorrect.


It is the ability to "win" in that dimension, i.e. adjoin two units together, not the ability to play in the dimension. By the nature of the game, once you have started playing you have "played in all of the dimensions."

Note: There are a vast amount of winning strategies from any point in the game. They have just identified one that works.



You are missing their point. Winning in a smaller dimension successfully does not ensure that win condition will remain viable following your opponent's turn. If you successfully connect 2 in a 2x2 dimension, your opponent can immediately block it in a 3x3 dimensioned game, leaving your entire win condition from the 2x2 game useless.
opsayo
Profile Blog Joined July 2008
591 Posts
Last Edited: 2009-06-03 22:43:42
June 03 2009 22:43 GMT
#34
Edit: oops, double post.
Wr3k
Profile Blog Joined June 2009
Canada2533 Posts
June 03 2009 23:06 GMT
#35
This reminds me of school. Which is never good, but I will admit it is an interesting problem

Macavenger seems to have it down. I'm not sure that can be considered an actual proof though. It's been a while since I did any kind of discrete mathematics.
Muirhead
Profile Blog Joined October 2007
United States556 Posts
Last Edited: 2009-06-03 23:14:53
June 03 2009 23:12 GMT
#36
Some google searching shows that this problem has been studied and is very hard. I'm no longer at all certain that draws are impossible for large n.

http://en.wikipedia.org/wiki/Hales-Jewett_theorem is an interesting theorem regarding this problem, though a combinatorial line is a little less common than an ordinary tic-tac-toe line. The Hales-Jewett number seems to grow rapidly, which is a very bad sign. It is likely that the problem is complicated enough that a proof is impossible.
starleague.mit.edu
opsayo
Profile Blog Joined July 2008
591 Posts
Last Edited: 2009-06-03 23:20:02
June 03 2009 23:18 GMT
#37
Intuitively, it seems to me that the higher the dimension, the more difficult it is to win. It takes more consecutive moves and ever increasing lengths of strings in order to force a win condition, which only means that the opponent has all the more time to continue to corner off each and every win attempt before it even gets close.

And since the win condition is always a 1-dimensional string, pursuing a win condition does not necessarily open up n dimensional (possibly much less) more possible strategies.
Mykill
Profile Blog Joined February 2009
Canada3402 Posts
Last Edited: 2009-06-04 01:40:19
June 04 2009 01:20 GMT
#38
haha 7 posts all about this math questions? isnt this a Starcraft forum?

From what I'm seeing there's no math needed to answer this question. im sure theres a formula but if you play Tic-Tac-Toe well you automatically know that first gets to win.
The larger the grid the more options for the person to connect to their previous spots.
but the more = harder to connect the n amount
Also the game will end in ties often since the second person will put pieces in places where connecting the n amount is impossible.

hence the answer: there is no set strategy to win. the game will end in tie like normal tic-tac-toe if the second person is smart. (wow that was hardddddd)

edit: proper punctuation
[~~The Impossible Leads To Invention~~] CJ Entusman #52 The problem with internet quotations is that they are hard to verify -Abraham Lincoln c.1863
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
June 04 2009 01:33 GMT
#39
On May 29 2009 10:08 hixhix wrote:
Show nested quote +
On May 29 2009 09:13 outqast wrote:
....

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension)....
....


This is so wrong. As I said before, the second player can choose to play any where, he's not forced to play within the reduced space as assumed in many posts here.

For example, assuming the 4^4 space, the first player chooses (1, 1, 1, 1), then second player chooses (3, 2, 4, 4), those belong to disjoint spaces (there exists no space that contain a valid row (length 4) and contain both points) and from the point of view of the second player, he becomes the "first player" to play in his space.

I'm not saying that there is no winning strategy for the first player, I'm saying that the argument has been dicussed so far saying that n-dimension space can be reduced to (n-1)-dimension space is incorrect.


I think hixhix is right. Because to "block" a winning tuple, all you need is to interrupt one of it's elements, so player 2 could've filled up your other dementions to a point where you no longer have a sure win on those n-1 dimention space anymore.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
outqast
Profile Joined October 2005
United States287 Posts
June 04 2009 01:34 GMT
#40
On June 04 2009 07:30 opsayo wrote:
Show nested quote +
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.

I disagree with this, maybe this is the right approach, but as I see how it is worded, I don't think this is a conclusive proof.

Let's say we have a winning strategy in the n-1 dimension, that means we have a string of n-1 length in an n dimensioned TTT game. However, it is now the second players turn to make a move, and can immediately "corner" off the n-1 length string (since all the strings are only 1 dimensional), thus negating the n-1 length string which would have won in an n-1 TTT game, but is now blocked in an n dimensioned game.

edit:
Let's say you're in the very first n-1th x n-1th dimension, trying to force an n-1 string. Since you have assumed in the induction step that you can indeed do this, you force a string of n-1. However, he goes second and blocks it, while you start the next iteration in the next n-1th x n-1th dimension. You go first, but you went first in the first iteration as well, and makes no difference. In order to succeed, you need to force two threatening strings simultaneously. That is in order to succeed in the n-1 dimension TTT game, you are forcing two n-2 dimensional strings. To win in an n-dimensioned game you need to force two n-1 strings simultaneously, which I don't think you can do with this approach.

This is also why I don't think all cases are simply analogous to the base case(s). In a 1 dimensional game, your first move forces a win, but before you've won, you have threatened with 1 possible win condition. In a 2 dimensional game, your first move threatens 3 possible win conditions. In a 3 dimensional game, it takes a few moves (do it in your head), but your final win condition comes out to threatening only 2 win conditions. I imagine following this step, the rest of them threaten only 2 simultaneous conditions.

Show nested quote +
On May 29 2009 10:24 outqast wrote:
On May 29 2009 10:08 hixhix wrote:
On May 29 2009 09:13 outqast wrote:
....

Since in every dimension you can always adjoin two squares together no matter your starting strategy (i.e. you "win" in that dimension)....
....


This is so wrong. As I said before, the second player can choose to play any where, he's not forced to play within the reduced space as assumed in many posts here.

For example, assuming the 4^4 space, the first player chooses (1, 1, 1, 1), then second player chooses (3, 2, 4, 4), those belongs two completely different spaces and from the point of view of the second player, he becomes the "first player" to play in his space.

I'm not saying that there is no winning strategy for the first player, I'm saying that the argument has been dicussed so far saying that n-dimension space can be reduced to (n-1)-dimension space is incorrect.


It is the ability to "win" in that dimension, i.e. adjoin two units together, not the ability to play in the dimension. By the nature of the game, once you have started playing you have "played in all of the dimensions."

Note: There are a vast amount of winning strategies from any point in the game. They have just identified one that works.



You are missing their point. Winning in a smaller dimension successfully does not ensure that win condition will remain viable following your opponent's turn. If you successfully connect 2 in a 2x2 dimension, your opponent can immediately block it in a 3x3 dimensioned game, leaving your entire win condition from the 2x2 game useless.


I think I am confused about a winning strategy.

Is a winning strategy an nx1 string in a single dimension because I just interpreted it as you just have to have n boxes that are touching in some way.

If it is by my definition, then my logic holds. Otherwise, I have no idea what is going on.

I don't think the problem is not well articulated...
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
June 04 2009 01:48 GMT
#41
Some ideas:

Let's ssuppose our algorithm A starts at the corner, i.e. (1,1,1,...1)
How many paths to win we can create with a corner opening?

For dimention 2x2, we have 3 ways
(1,1)-(1,2) two straight edges
(1,1)-(2,1)
(1,1)-(2,2) one diagonal

For dimeion 3, we have
(1,1,1) (2,1,1) (3,1,1) 3 straight edges
(1,1,1) (1,2,1) (1,3,1)
(1,1,1) (1,1,2) (1,1,3)

(1,1,1) (1,2,2) (1,3,3) 3 semi diagonals on planes
(1,1,1) (2,1,2) (3,1,3)
(1,1,1) (2,2,1) (3,3,1)

(1,1,1) (2,2,2) (3,3,3) 1 full diagonals

For dimention 4, we have
(1,1,1,1) (2 111) (3 ...) (4 ...) 4 straight edges
(1,1,1,1) (1 2 1 1) (.3..) (.4..)
(1,1,1,1) (1 1 2 1) blah
(1,1,1,1) (1 1 1 2) blah

And?
And?
And?
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-06-04 01:55:58
June 04 2009 01:50 GMT
#42
The question I want to answer is, given a "string" of length n, say
(pt1, pt2, pt3, ... ptn)
What kind of string is a "winning string"?

Remark:
Note that each pt_i looks like (a1, a2, ... an), that's to say each point is a n-tuple, and a string is a n collection of these n-tuple points.
For instance, a winning string in 3D might look like
((1,1,1), (2,2,2), (3,3,3))

Once we collectively answer that question, we will see that out of ALL the winning strings, which one can player_1 claim in such way that player 2 cannot block.

Again, we'll formalize our terms, build on top of hixhix, I add this one more definition:
a winning string is a collection of points in which, once all points are claimed by one player, he wins.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
June 04 2009 01:59 GMT
#43
Some intuition:
2D has total of 4 points, Since any 2 points in 2D forms a winning string, total number of winning string will be (4 choose 2) or 6.
3D has total of 27 points, how many winning strings are there?!
4D, 5D?

HAhAH this is already fun!
Cmon play with me here
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
datscilly
Profile Blog Joined November 2007
United States529 Posts
Last Edited: 2009-06-04 02:40:33
June 04 2009 02:20 GMT
#44
On June 04 2009 08:12 Muirhead wrote:
Some google searching shows that this problem has been studied and is very hard. I'm no longer at all certain that draws are impossible for large n.

http://en.wikipedia.org/wiki/Hales-Jewett_theorem is an interesting theorem regarding this problem, though a combinatorial line is a little less common than an ordinary tic-tac-toe line. The Hales-Jewett number seems to grow rapidly, which is a very bad sign. It is likely that the problem is complicated enough that a proof is impossible.


For other people working on this, I'll like to emphasize Muirhead's post. Note that OP does not claim to know that answer, only that he played around with the cases n=4 and 5.

@evanthebouncy!
Well, a winning string in one such that for each coordinate the pt_i_n (i is varying, n is fixed) are counting up from 1 to n, counting down from n to 1, or is constant. This is because if you project a winning string to a single axis, it must appear as one of three cases above. Conversely, a string whose projection to every coordinate is as above must be a winning string.

edit: note that we cannot have every coordinate constant. As long as one coordinate is varying it is fine.

edit2: The number of strings in n dimension TTT is 1/2 times (n+2)^n - n^n. This checks with the 3 dimensional case in the OP.
mmp
Profile Blog Joined April 2009
United States2130 Posts
June 04 2009 23:45 GMT
#45
On June 04 2009 11:20 datscilly wrote:
Show nested quote +
On June 04 2009 08:12 Muirhead wrote:
Some google searching shows that this problem has been studied and is very hard. I'm no longer at all certain that draws are impossible for large n.

http://en.wikipedia.org/wiki/Hales-Jewett_theorem is an interesting theorem regarding this problem, though a combinatorial line is a little less common than an ordinary tic-tac-toe line. The Hales-Jewett number seems to grow rapidly, which is a very bad sign. It is likely that the problem is complicated enough that a proof is impossible.


For other people working on this, I'll like to emphasize Muirhead's post. Note that OP does not claim to know that answer, only that he played around with the cases n=4 and 5.

@evanthebouncy!
Well, a winning string in one such that for each coordinate the pt_i_n (i is varying, n is fixed) are counting up from 1 to n, counting down from n to 1, or is constant. This is because if you project a winning string to a single axis, it must appear as one of three cases above. Conversely, a string whose projection to every coordinate is as above must be a winning string.

edit: note that we cannot have every coordinate constant. As long as one coordinate is varying it is fine.

edit2: The number of strings in n dimension TTT is 1/2 times (n+2)^n - n^n. This checks with the 3 dimensional case in the OP.


That is correct, I do not know of a solution. I talked with another math-bent friend who believes it is unprovable, but isn't certain.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
Normal
Please log in or register to reply.
Live Events Refresh
Replay Cast
23:00
PiGosaur Cup #53
Liquipedia
OSC
23:00
OSC Masters Cup #150 Qual #1
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 170
Ketroc 33
StarCraft: Brood War
Leta 1137
Larva 1131
Sharp 78
Noble 32
Icarus 10
Dota 2
monkeys_forever714
NeuroSwarm46
League of Legends
JimRising 734
Counter-Strike
ScreaM468
Stewie2K348
Super Smash Bros
hungrybox515
Other Games
summit1g7844
WinterStarcraft448
C9.Mang0363
ViBE219
fpsfer 2
Organizations
Counter-Strike
PGL7860
Other Games
gamesdonequick6389
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH38
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV781
League of Legends
• Lourlo465
• Stunt394
• HappyZerGling197
Other Games
• Scarra577
Upcoming Events
The PondCast
6h 27m
OSC
8h 27m
Wardi Open
1d 7h
CranKy Ducklings
2 days
Safe House 2
2 days
Sparkling Tuna Cup
3 days
Safe House 2
3 days
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.