Skip to content
Little GolemMake your next move.

8x8 hex –The solution

Public forum discussion.

Hex, Havannah

#51 · Ingo Althofer

14 Feb 2009

@javerberg:

Thx for your computations and for presenting

the results here in the forum! It is really

interesting to watch at the "first-move outcomes"

and meditate about the structure of the red and

blue landscapes.

I have been thinking about the following variant

of Hex (call it "Hex-O" for instance). It has the

normal rules of Hex, but there is one more winning

condition: a player wins immediately when he creates

a closed cycle with at least one inner square (let it

be empty or filled). (So, this is the third winning

condition from Havannah.)

Questions

\* How difficult would it be to compute "first-move outcomes"

for Hex-O?

\* Especially, would it be possible to compute the Red/Blue

landscapes for board sizes 6x6 and 7x7 (and 8x8) in reasonable time?

\* Will there be a board size for which the landscapes of

Hex and Hex-O differ in at least one square? (If yes, which would

be the smallest one?)

Ingo.

#52 · Ingo Althofer

14 Feb 2009

One additional thought on Hex-O:

For Shannon's switching game (with Mr. Short

and Mss. Cut) it is known that addition of

a cycle winning condition does not change the

outcome for "all normal" starting positions.

Ingo.

#54 · Greck

14 Feb 2009

i had the same thought as Christian the very single second i read Ingo's post ;-)

#55 · David J Bush

14 Feb 2009

Ingo, is that the edge-switching game or the vertex-switching game?

#56 · Ingo Althofer

14 Feb 2009

@David J:

> is that the edge-switching game or the vertex-switching game?

I mean the version with a rectangular grid, where Mr.

Short wants to connect northern and southern side,

and where Mr.Short in each of his terms fixes an edge,

and Mss.Cut in each of her turns deletes an edge that

is not yet fixed.

On quadratic grids the first player to move has a winning

strategy (for the empty board) - by symmetry+strategy stealing

argument.

#57 · Ingo Althofer

14 Feb 2009

> Hexannah? ;-)

@Christian,

Sometimes it is strange with names of games or programs.

Yesterday in my seminar, a student gave a presentation on his

programming work on connection games. Amongst others he

mentioned the strongest Hex program available: Hexy.

Believe it or not, but directly after this innocent word

"hexy" had filled the room, noise came from a part of the class

which is typically more or less silent when game topics

are discussed ... Perhaps they had understood "sexy" or whatever ...

In any case, just shortly after that moment I got the idea of

Hex with cycle criterion - and immediately also had the intuition

to call it Hex-O ... (Pronouncing it Hex-oooh might again lead to

a reaction from the part of class mentioned above.)

Ingo.

#58 · christian freeling

14 Feb 2009

@Ingo

Naming games is an art in itself. As it happens Havannah was chosen by blindly opening a dictionary and tapping a finger. Actually it said Havana, but that looked a bit too much like a cigar.

The idea of ring threats in Hex would certainly alter the game considerably, and you might adapt a program accordingly to get a better grip on it in a Havannah program.

Let's call it Hosannah ;-)

#60 · Philip

19 Apr 2010

Yes, we (UofA Hex group) submitted this before we knew of LG and javerberg's competing solver... but the deadline for IJCAI 2009 was Jan 12, so we were thankfully slightly ahead :)

Actually, for those interested in such things, we've also solved more than half of the 9x9 openings as well, and our paper showing these results has been accepted to CG 2010. Things are definitely slowing down though :)

#61 · Ingo Althofer

20 Apr 2010

Hello Philip,

can you tell about your 9x9-findings?

Are the pattern in line with those for smaller boards?

Ingo.

#62 · Ingo Althofer

20 Apr 2010

Christian wrote two months ago:

> Naming games is an art in itself. As it happens

> Havannah was chosen by blindly opening a dictionary

> and tapping a finger. Actually it said Havana, but

> that looked a bit too much like a cigar.

Do you know that Cameron Browne delegated the whole

procedure of game design to a bot? Not only the rules

but also the naming!

Look at Yavalath, designed by the bot from his Ph.D. thesis.

And the name Yavalath came frome some side-routine of this bot.

See at BoardGameGeek:

http://www.boardgamegeek.com/boardgame/33767/yavalath

Ingo.

#63 · Marius Halsor

20 Apr 2010

Philip, PLEASE PLEASE PLEASE post your preliminary results for Hex 9x9 here!

#64 · Methylphenidate

20 Apr 2010

9x9 hex, wow!

At least this gives me hope I'll see 10x10 solved before I die, but what are the chances of 11x11 is the real question? :) If I give myself another good 50 years...

#65 · Philip

21 Apr 2010

Ok, in ugly ascii format (someone else can make this nice, add it to HexWiki, etc :) these are our 9x9 opening results thus far:

W W W W W W W W ?

? ? ? W W W W B ?

? B B B B B B ? ?

? ? B B B B B ? ?

? B B B B B B B ?

? ? B B B B B ? ?

? ? B B B B B B ?

? B W W W W ? ? ?

? W W W W W W W W

Each opening took 1-25 days of computing time to solve (we solve all 8x8 openings in ~30 hours) but some of these are deduced openings (i.e. since d2 is a losing opening, we know that d1 and e1 are losing openings, and we obviously save ourselves the rotation, etc).

I don't think any of the results is surprising, although c2 is proving to be rather difficult... might end up being a winning opening for Black.

#66 · Philip

21 Apr 2010

Gah, right, no indenting...

Top left is acute corner, as oriented on LG.

#67 · halladba

21 Apr 2010

Hi Philip, congratulation for your solving 9x9 and improving speed on 8x8. How long do you now need for 7x7 ? you mentionned 10min in your article but I guess as 8x8 speed improved greatly so did 7x7 speed...

Here is the formatting in HexWiki .

#71 · Philip

21 Apr 2010

Thanks halladba, Carroll for cleaning up my messy post :) As Tasmanian Devil states, the improved ascii version should have a "?" at h4.

Despite the ~10x speed improvement in 8x8 from last year, our 7x7 has only gotten a bit faster (~6 minutes now, if I recall correctly... we don't really test that size often anymore :)

I'm predicting the short diagonal to be all one color again, and looks like the second row might have a weird `jut out' at c2. This happened on 7x7 but was missing from 8x8, so that's a bit interesting/surprising to me.

#72 · Carroll

21 Apr 2010

Thanks Philip and Halladba! (and Tas)

Anyone wants to bet that i1/a9 is not red?

W W W W W W W W ?<br/> ? ? ? W W W W B ?<br/>  ? B B B B B B ? ?<br/>   ? ? B B B B B ? ?<br/>     ? B B B B B B B ?<br/>      ? ? B B B B B ? ?<br/>       ? ? B B B B B B ?<br/>        ? B W W W W ? ? ?<br/>         ? W W W W W W W W

#73 · Marius Halsor

21 Apr 2010

I'm betting it IS red. I also think that deleting your old post and replacing it with this new and improved post messes up the meaning of previous posts... :-)

#74 · Carroll

21 Apr 2010

Thanks for making it clear!

The other solution is for each of the posters having issued a post after me to repost now (or better delete it)... and we will both remove our last ones :)

#77 · Marius Halsor

26 May 2010

I hadn't seen it before. However, there seems to be too few variations played to say a lot about the various positions - at least for size 9. It's much better for size 10, since Kurnik games have been collected, but still there is the matter of the quality of the games the data is based on. Also, with the complete solution expected soon, it will soon be obsolete for sizes 9 and below. For size 10, I guess it can still be of some interrest.

#78 · Marius Halsor

26 May 2010

Playing a little with size 10, I find that it's not very helpful for even that size. Trying a rather ordinary opening (given swap, that is!) it leaves me with two played games after three moves - and these games are poorly played as well, and that's all the results are based on for the game after my first 3 moves! And this result, in turn, must be correct for the result after move 2 to be correct, since it displayed all losing positions for move 3.

#79 · Philip

27 May 2010

I haven't checked that website recently, but when I did, the quality of games was quite poor, as Marius said. It's not hard to find positions that only rely on a couple games, and in several I found that one player has a virtual connection win and they go on to lose (I verified with solver to be sure)... so not only is there reliance on small number of positions, but many of them contain basic endgame errors. Still, I think the idea has some promise if the quality of games were improved.

#80 · lazyplayer

8 Jul 2010

No more news? Are the remaining moves so hard? :)

#81 · Philip

16 Aug 2010

I haven't been running our solver at all for a couple months... bogged down with thesis writing, etc (my defense is in hours :) plus our department had some major technical issues this summer.

With our current solver, my estimate is a couple years for each of a6, a8, a9. The rest should `only' be about 2-6 months or so. Of course, this isn't nearly as bad as it sounds if I just throw a cluster at it, but we have some techniques I'd like to code first... might just save us a few months or more :)

So I won't have any 9x9 updates for at least a couple months... sorry :(

Last page