Skip to content
Little GolemMake your next move.

Analysis of your game?

Public forum discussion.

Dots-and-boxes

#1 · wccanard

30 Dec 2007

If you've played a dots and boxes game on the server and are wondering why you lost, or what you should have done on move 23, or anything really, then post the game number and move number here and I'll offer some comments, and perhaps other people will too. The only rule is that the game has to be finished on the server. I'm hoping that I'll get a slow trickle of responses, enough to deal with easily, and that I'll hopefully see some interesting games and positions.

#2 · FatPhil

27 Jan 2008

I've just had an interesting loss against alkosan. In retrospect, I was aiming for the wrong thing for a very long time - I was putting too much weight on the long chain battle. We suspect that I had become committed to the wrong strategy by move 15 or 17.

#3 · FatPhil

28 Jan 2008

Well, my obvious mistake was resigning... However, pretending that the move prior to that had been the correct one, then my query still stands.

#4 · wccanard

28 Jan 2008

NOTATION: Let me use jijbent notation because I find I'm using

it more and more, and it's kind of more convenient, having a unique

short identifier for each box as well as for each line. The idea

is this: imagine a dot for each dot, and a dot in the centre of each

line, and a dot in the centre of each box. This gives you an 11x11

grid of dots which I'll label a-k (from left to right) and 1-11 (from

bottom to top---like in chess). So a1 is the bottom left box, a2

is one of the lines in the bottom left hand corner, b2 is the

bottom left hand square, and the first move in the game in question

is b5.

\*\*\********

My comments have not been computer-checked, so some might be wrong.

\*\*\*******

By move 10 the game is threatening to break up into lots of small areas

and one quad, which will make it quite a subtle game; the kind of game

where the short chain battle and the long chain battle are worth

about the same! This still isn't a cert yet, but by move 14 it is

looking ever more likely. The board is now essentially in 4 regions: the

bottom left (1 chain), the bottom right (1 chain), the top right

(probably a chain) and the top left (probably a quad, and room for

a chain too). Phil might want to consider (at least briefly) the sacrifice

in the top left in move 15? That way he almost guarantees 4 chains and no

quads (either that or alkosan will have to sacrifice a lot to get it

down to 3 chain), but my gut feeling is that the line doesn't work for Phil;

he sacrifices in the top left,

and then will be forced to sacrifice in the bottom right and possibly

the top right too to make the chains there,

and then he's two dor three own and alkosan can start opening

3-chains and Phil can find himself tied to winning the chain battle

and getting ever more behind. Worth trying on a piece of paper perhaps?

Doesn't look good though.

But Phil didn't try it and by move 16 (alkosan completes the quad)

we see exactly what this game is

about. There's a quad and all long chains are going to be length 3,4,5 or so,

so any sacrifice is likely to cost the game,

and the chains will just grow naturally and we'll have to see whether

the short chain battle wins or the long chain battle does: assuming

no second quad forms in the bottom left, both the long and short chain

battle will probably be worth at most 2.

It's very delicate to count this sort of game---a computer could probably

analyse the situation after move 16 but it's very hard for a human because a

lot depends on very suble things like whether the 3x2's become a 5-chain and a

1-chain or a 4-chain and a 2-chain etc. All very delicate.

The "sente" in the position is currently (in my opinion) in the top left

(will a 4th chain form [yes] and will it be joined to the quad?) and in

the bottom right (will someone have to sacrifice?

Will there be a quad?) It seems to me that if a quad forms in

the bottom right then that's bad for Phil because two quads and

three short chains might end up being worth 2 or 3 for alkosan.

In short, alkosan is "threatening" j1, which probably forces Phil

to sacrifice, which isn't ideal in a position like this because 1 box

might be all it takes. On the other hand there will almost certainly

be a chain in the top left because no move stops both a8 and d11

and after that it costs 2 to stop the chain, which is probably more

than anyone can afford.

If I were phil I would be torn between 17 i2 (trying to force the

4-chain without having to lose a box) and 17 a8 (threatening a powerful

4th chain). The merit of i2 is that it guarantees no quad in the bottom

right and stops the threat of j1 (which would probably force a sac

on Phil's part), and the merit of a8 is that assuming alkosan doesn't

sacrifice, the resulting long chain will be joined to the quad, and

this makes a big difference: at the start of the long chain battle

alkosan won't be able to open the quad if there's a chain coming off it,

and opening the quad is almost certainly going to be the move he wants

to play if he's lost the chain battle.

I would try the following line: 17 a8 18 j1 19 i2 (sacrificing j2);

now alkosan doesn't have enough to pre-emptively open any long chains,

so he might want to consider b7 or c10; but it's hard work precisely

analysing the 2x3 regions at the minute. Still too complicated for me

to analyse in my head...

Phil played 17 d11 and I to me that looks srictly worse than a8 because

it's threatening a chain but not one attached to the quad.

Alkosan's move 18 doesn't seem to do much: phil can still force a 5-chain

down there with d1. Now 19 a8 gives a 5-chain and this is surely a very

powerful move: it makes a 5-chain and *attaches it to the quad*.

For example, the value of a 3-chain, two 4-chains, a 5-chain and

a quad is zero (open the quad) and the value of a 3-chain, two

4-chains and a 5-chain attached to a quad is, I think, 4. See the

difference??

Phil doesn't play this; instead of making a 5-chain and attaching it

to the quad, both of which are strong for him, he stops the

chain from growing, which is bad for him, and detaches it from the

quad, which is bad for him, and this move might cost him the game.

Alkosan forces a 4-chain with move 20; now the game is screaming out

for 21 i2. The long chain battle is worth so little that alkosan

can't afford to sacrifice to kill the chain down there, and 21 i2

hence guarantees a 4-chain rather than a 3-chain and a sac, so it's

worth a full 1 box. Phil doesn't play it and is punished; alkosan

forces the sacrifice and might be the box that loses

him the match. Alkosan's move 24 guarantees at most a 5-chain in the top

right and now the short chain and long chain battle are both worth 1,

so Phil loses 13-12.

Epilogue---of course this assumes that alkosan opens the quad when the

long chain battle starts. He opened the 3-chain so after doing all the hard

work he threw it away: phil should have taken all three boxes, opened

the quad, and thanked his lucky stars!

Any questions Phil?

wcc

#5 · FatPhil

28 Jan 2008

Thats great. I didn't realise attaching the chain to the quad would have changed the value so much. It does look like I lost the game a lot later than I first thought, and simply played badly rather than futilely. Cheers!

#6 · wccanard

28 Jan 2008

You really learn the value of attaching a chain to a quad in those "quaddy"

games where the board gets chopped into four regions. Imagine that the board is three quads and a 4-chain, and then lots of 1s and 2s. Player 2 has won the chain battle but will lose the game 13-12 because he'll lose the short chain battle by 1 and then Q+Q+Q+4 has value 0 [general theory says open the quads first, so the value can be computed easily: v(4)=4, v(4+Q)=0, v(4+Q+Q)=4, v(4+Q+Q+Q)=0].

But if the 4-chain gets attached to a quad then the parity switches and the value changes massively. I don't know a hard and fast rule for computing the value other than doing it "by hand"; if 4->Q denotes a 4-chain attached to a quad then v(4->Q)=4, so v(Q+4->Q)=0, v(Q+Q)=0, v(Q+Q+Q)=4, so v(Q+Q+4->Q)=4, this being the value of opening either an isolated quad or the 4-chain. Again general theory says you should never open the quad attached to the 4-chain so you don't have to consider this move.

You have to be careful of course: v(4->Q+Q)=0 and v(4+Q+Q)=4; it's not a hard and fast rule that attaching a chain to a quad beefs up the value of the game, but if you attach a chain to *every* quad then you're in good shape; general theory implies that the value of the resulting game is positive (the only way a loony endgame can have value 0 is if there's an isolated quad because the defender must play a move for which the controller can't take any boxes before having to make a decision).

wcc

#7 · FatPhil

7 May 2008

Here's one which I don't propose because I see any great depth in it, merely that I won it out of sheer blind stupid luck, against an opponent who's good enough to beat me about 90% of the time:

Game 875231.

My aim was to win the LCB, but as you can see I ditched that idea right at the last minute. In retrospect, I should have foreseen the fact that I would ditch it a bit earlier. However, it might have been that the game was more or less won anyway even earlier on as long as I didn't do anything stupid. I got the feeling at about move 19 that as long as I kept my head I'd be in reasonable shape - was my confidence misplaced?

#8 · flipster

7 May 2008

I know you asked wcc and not me, but here are my views:

No, your confidence wasn't misplaced at all. After your move 19, Loic was 'forced' to play his move 20, because you threatened to connect the upper two regions. After making the quad - the correct move - you were of course winning. You were 4-1 ahead at that point, so if you would've been losing, the value of the game should be at least 4. That can only be true if the value of the game equals the controlled value, i.e. if Loic wins the LCB and keeps control. It's easy to see that if he would stay in control, you would get another 4 boxes from the quad + 2 from the double-cross in the first chain + 2 from the double cross in the second chain + at least half of the short chains which is at least 2.

4+4+2+2+2 = 14

I don't really think it's luck, you had already won the game at move 17. Loic desperately opened a chain, and you correctly evaluated the game, even if it was only a feeling!

#9 · wccanard

7 May 2008

I agree with flipster---after your move 15 (and possibly even earlier) that game is a clear win to you. The chain at the top joins the two regions and there's no place for a 3rd chain; also he's not ahead enough to start pre-emptively sacrificing. From a purely formal point of view it's a theorem that his move 18 is a losing move: he's played a loony move and you're not losing on boxes when you have to make the decision so he's broken what I dubbed the Golden Rule in my notes on counting (available at wccanard.wetpaint.com).

Flipster remarks that Loic's move 20 was essentially forced but perhaps sacrificing f8 was also a viable option, with a sacrifice on f10 to follow. That might have produced a more confusing line. Your move 21 essentially guarantees that the LCB won't be worth 4 so whoever wins it you'll win the game, as flipster said. What would you have done if he'd sacced f8 on move 20? Perhaps the simplest thing is to just make sure that no 5-chain appears in the two regions: two 4-chains is only worth 4 to him which isn't quite enough in that line as he's sacrificed 5.

#10 · FatPhil

8 May 2008

Actually, it was quite fun to play through my game again just now, and with wc's comments about the top region, it seems that even perhaps by move 13 the most likely final shape of the game was decided. I'd forgotten precisely when, I've found it now - at move 15 my in-game message was "So we both know who's aiming for what. But how expensive will it be..." Loic beats me with such regularity I never know what to expect even when I think I might have, for example, the LCB won.

#11 · wccanard

8 May 2008

You have to remember the Golden Rule. If someone is winning a big chain battle (no loops) and they're not seriously behind on boxes then you can sometimes apply the Golden Rule to see that pre-emptive sacs *can't* work and most of the other moves for the defender only "make things worse" as it were.

#12 · Marius Halsor

8 May 2008

In this game against christi I'm pretty sure I have a losing position after move 21 (I still won because christi mada a mistake in move 26). My question is: Did I have a chance at move 21? Could I have made a winning move, or was I already doomed?

#13 · wccanard

8 May 2008

Cristi's move 20 makes a second chain in the 3x3 region at the bottom of the board (an attempt to kill it with e.g. d1 is met with the response h3). So it looks like 3 chains unless you kill the chain on the right. However, killing the chain on the right by sacrificing 2 means that you'll win the chain battle but it looks to me like you will lose the game 13-12 with best play; you sacrifice 2, he plays d1, you play h3 to make your second chain and he opens it instantly. I think that both choices (all but two, or take all) lose 13-12...let's see what the computer says...

...the computer says what I said. After his/her move 20 you are losing 13-12 with best play and indeed the sac doesn't quite work. This is a tough game though and all sorts of things could happen if humans are involved. The line you played is also interesting. After move 21 you have a chain and two "possibly chains". Here you have to think a little to find out what will happen in the chain battle. In the simplest variant of this phenomenon, which you're in (the ambiguous positions have nim-values 2 and/or 3) you can just play out the other moves (as you did in the game) and see who has to resolve a region first; this person has lost the chain battle (and the game, in this case). As you rightly point out, after your move 25 the correct response is the final waiting move: j11 or k10. If Cristi had played this then after the exchange of short chains you would have to decide one of the regions, he/she decides the other and you will lose: your best move is to make the 8-loop and then he/she sacrifices two to win the chain battle, loses two more in the SCB and then wins 6 in the LCB.

#14 · Marius Halsor

8 May 2008

Thanks. This is how I thought it would be, but I wasn't sure - I'm not good enough yet to actually trust my own judgement in this game :-)

#15 · wccanard

8 May 2008

It's a tough game to analyse by hand after 20 moves. Certainly possible but you have to be aware of some of the tricks. Your move was a really good effort because two "possible chains" confuses the issue perhaps, and the trick worked---you won the chain battle when you shouldn't have. The move (on move 20) which wins the chain battle outright (the sacrifice) *just* loses the game, but only if your opponent knows what they are doing. If you sacrifice 2 then your opponent has to force you to make the 3-chain, and then has to open it instantly, and if you keep control then they have to instantly play another loony move: all of these moves are forced and if they deviate then you have won.

#16 · Marius Halsor

28 Aug 2008

I just lost a very nice game against alkosan in the Championship. I think that after move 17, I have lost. Is that correct? And if so, could I have played a winning move at move 17, or had I lost already?

#17 · wccanard

30 Aug 2008

Let me start by clarifying why you have lost: when you resigned the game was "dead": this is a slightly subtle notion, but basically all the regions were either loony or had one move that was better than all the others; in this situation the best way to proceed is to play out all the non-loony moves, starting with the cheapest, and then to proceed with the short chain battle and then the long chain battle. So the optimal way to finish the game from the position where you resigned was: first make the quad at the top and the 2-chain; then sacrifice the box at b6 (so you would be 1 down) and then open the two 2-chains, and then start with the long chain battle, which is 6+6+Q+Q and hence worth 0. So an expert can instantly see that P1 has lost 13-12, on move 29.

But after move 17 there are still plenty of possibilities; it would take me a long time to completely analyse it by hand. I agree that things don't look great for you but who knows. You don't want to walk into a 6+6+Q+Q endgame so how about 19. j9? There is still a lot of play in this one.

#18 · wccanard

30 Aug 2008

Computer-analysis said that you're losing after alkosan's move 16 and that he played perfectly from then on (the score with best play oscillated between 14-11 and 13-12 but he was always winning). But there are many lines and who knows what would have happened if you had played a more complex one. For example after 17.a8 he only has five winning moves on the board and all are tough to spot: b3,b5,d5,j9 and k4.

#20 · flipster

8 Sep 2008

"Had I, like I thought won by the eighth move?"

Absolutely.

The middle region will be a 'twin', or, if red tries to prevent that, a 3+chain. A twin is basically two loops attached to each other, and in the case of 2 quads it comes down to a 3chain attached to a quad. As you possibly know, p2 is winning if he uses a mirror strategy and manages to get a chain through the middle, and the same applies for a twin

"Did I play the right way after the loony move?"

Yeah, you did.

Both ways of responding to the loony move - taking all 3 or leaving 2 - are correct, because the value of the remaining game is 0.

You didn't make a mistake in the rest of the game.

Congrats!

#21 · flipster

8 Sep 2008

By 3+chain I mean a chain of at least 3 boxes ;)

#22 · wccanard

8 Sep 2008

Yeah, that's lovely. I've not seen that variant of the trick before. You are now guaranteed not to be the first to make a loony move, and are guaranteed not to be behind on boxes when your opponent makes the first loony move, so in theory you have won. In practice you have to decide whether to take all but two/four or not though, and this can be hard. I can't claim to have completely analysed the endgame and I can't independently verify flipster's assertion that either way would be correct---but I'm sure that taking all 3 works because the value of the long chain battle is clearly going to be tiny.

#23 · FatPhil

10 Sep 2008

It's not a "trick" if it relies on P1 creating the suicidal situation, surely?

#24 · FatPhil

10 Sep 2008

Actually, I'm curious why P1 didn't foresee this situation. I have explicitly programmed into RoRoRo some ability to defend against P2 symmetry attacks by avoiding what P1 did, and I sux at D&B.

However, I approve of any game which generates such dumbells!

#25 · wccanard

10 Sep 2008

If I fork your king and rook with my knight, is that a "trick", or does the fact that you implicitly let me do it on the move before mean for some reason that it isn't?

Symmetry is a slightly subtle thing in dots and boxes. Of course P2 can copy P1, right from the start, and if P2 does this then P1 has to be careful not to lose. I have always had in my mind the following rule of thumb: if P2 is copying and also manages to create a 3-chain or longer through the middle box then P2 has won. But in all other cases P1 is probably in a strong position. However the above game shows that the rule of thumb isn't quite accurate enough: a twin around the centre square is also good enough for P2, and even the position that Macbi highlights, which is neither a twin nor a 3-chain, but which will become one or the other, is also something that one has to take into account.

Phil: if you say that RoRoRo will avoid symmetry attacks then you also need a rule of thumb. Is it sufficiently subtle to be able to distinguish when the position goes from "big P1 advantage" to "big P2 advantage"? I would happily be P1 after move 4, I am a bit concerned at move 6 and I would happily be P2 by move 8.

#26 · FatPhil

10 Sep 2008

I don't consider such a fork to be a trick at all, no. If the fork was prepared using a gambit which made the fork-conceding move look good, then that would be a trick. But if there's no, erm, tricking of the opponent into playing what later turn out to be bad moves, then it's not a trick. IMHO.

RoRoRo's rule of thumb isn't subtle at all. Feel free to challenge him to a game, you as P2 playing symmetry, and see if you can work out what it is. I bet you'll have a good stab at a guess after just one game. (And if you wish to preserve the challenge for others, just include your guess in a private/in-game message rather than spoiling it here.)

(Note - he's not programmed to ever play P2 symmetry, only to defend against it. He doesn't even know why he's doing what he's doing when he's so defending! He's really quite stooopid regarding strategy.)

#28 · Macbi

12 Sep 2008

Nice trick, it was completely fooled. Did that work on the first try?

#29 · wccanard

12 Sep 2008

Check out my game record to see that the answer is "yes" :-) But of course I got lucky because it opened in a corner.

#30 · Macbi

12 Sep 2008

I don't know what RoRoRo's rule of thumb might be. At first I thought it might be to only play lines that make rings around the centre (concentric rather than radial) but then it played this move:

http://www.littlegolem.net/jsp/game/game.jsp?gid=936592&nmove=15 (I lost my nerve in that game and had to rescue myself)

I can't see an easy rule of thumb for it to follow, after all we've just seen there are positions where a chain has to form through the middle but where this isn't at all obvious.

#31 · wccanard

13 Sep 2008

I can't see an easy rule of thumb either---that's why I asked Phil what it was doing. Of course if he answers and we can see flaws in the algorithm then it rather compromises RoRoRos position!

#32 · FatPhil

18 Sep 2008

WC - your game doesn't count, you weren't playing symmetry. What it was doing? It wasn't defending itself against a P2-symmetry attack. Doh!

Macbi - losing your nerve also counts as not playing symmetry. You're pretty close to

I'll count that as 2-0 to the bot and its quick heuristic.

#33 · FatPhil

19 Sep 2008

[You're pretty close to] guessing what its heuristic is.

#34 · wccanard

19 Sep 2008

"WC - your game doesn't count, you weren't playing symmetry." That depends on your definition of symmetry :-) Given that both corner moves are mathematically the same, I would claim that I am playing symmetry. What's the bottom line? Surely it's "who won"?? If you want to be more precise we could say that RoRoRo has no defence yet against "weak symmetry" but you're claiming he does something against "strong symmetry".

#35 · Macbi

19 Sep 2008

I never claimed that that was me beating the bot with symmetry, it was just a counter example to something I thought your heuristic was. I still have no idea what it's rule is. The thing about defending against symmetry is that you have to bear in mind that they might break symmetry at any point.

Also, you should definitely make RoRoRo defend against weak symmetry.

#36 · FatPhil

19 Sep 2008

"my" definition of symmetry?

weak symmetry

strong symmetry

symmetry

I'm not the one coming up with my own definitions.

However, your game with him was most enlightening, as it found a flaw in the implementation of the heuristic. I was checking only a 4x4 region of the grid (plus its rotated image, even if that involved unnecessarily double-checking several pairs of squares (heck, if speed was important, I'd write this in something other than Perl)), which meant there was one corner which wasn't being checked at all - where you played your first move! I've fixed the out-by-one (and removed the unnecessary double-checking), and made him a tad more paranoid, so he should be a little more observent now.

Of course - the poor bot's crap at the game anyway - there's no way a strong 1900+ player should ever lose to him. He doesn't even know the long chain rule, for goodness' sake! However, it's the 1600-1700s who think that they can outsmart a dumb bot who I am trying to catch.

#37 · wccanard

23 Sep 2008

> "my" definition of symmetry?

No Phil! *One's* definition of symmetry. Sorry for the ambiguity. *I* made the defitions above in my post, implicitly, *assuming* you'd looked at my game against RoRoRo and had already noticed the crucial point I was trying to put forward. My move 1 is the crucial move. I'll make the definitions explicitly: by "strong symmetry" I mean "exact 180 degree copying" and by "weak symmetry" I mean "the same except you're allowed to play the other corner move---the mathematically equivalent move---instead of the precise 180 degree move". What I'm saying, Phil, is that I ate your bot for breakfast playing weak symmetry, and was hence putting forward the thesis that your bot has *no* defence against "symmetry" because this includes weak symmetry.

#38 · FatPhil

23 Sep 2008

Ah, so now you presume that I read tea leaves or chicken entrails in order to know that you weren't playing rotationally symmetric moves?

Of course I looked at your game, and of course I noticed that it's not just exact symmetry that P1 is vulnerable to if he doesn't know how to defend against such related attacks. I've seen over half a dozen P2 symmetry attacks against me (from 1600-1900 players), and no-one's ever played anything apart from exact symmetry against me. I initially made RoRoRo defend against the attacks that I've seen in the wild. By Macbi's reaction of "nice trick", I presume that he (a 2000+ rated player) hadn't seen your attack either. Give yourself a pat on the back, it's a cunning *new* (to practically everyone here) attack. I put in some defense against it, not knowing how lax the deviation from exact symmetry could be and it still be a threat. I didn't keep any logs of its run since the 19th so I don't know if anyone's caused that to kick in yet.

#39 · wccanard

23 Sep 2008

> I put in some defense against it, not knowing how lax the deviation from exact symmetry could be and it still be a threat.

As far as I know, the variant of symmetry I mention above (both corner moves being mathematically equivalent so you need to check both when checking for symmetry) is the only trick of this kind, although more tricks could appear later on---for example if the board splits into lots of pieces then individual pieces could have bigger symmetry groups. Catching these latter things would be very hard to program though, and in some sense if the board has started splitting into small groups then P1 is probably already in trouble.

I always have this vague feeling that, at least in the later stages of the game, a computer would be much better off storing a board as (isomorphism classes of) trees of possible continuations. That way one is guaranteed never to analyse moves which "look different" but which have equivalent game trees.

#40 · FatPhil

24 Sep 2008

I did play the bot with slightly broader deviations from symmetry than the equivalence of the two outer corner moves and apart from that following symmetry religiously, and it managed to beat me. Of course, as Macbi indicated, someone applying smarts would bail early in such a situation.

#41 · FatPhil

23 Oct 2008

It's not a loop, what the heck is it?

Whatever it is, it's causing RoRoRo to crash horribly. He's trying to work out which bits are chains, and which are loops. Oh dear...

Are such genus 2 'loops with handles' common? I can't say I've ever encountered one before (and neither has RoRoRo!).

#42 · ypercube

24 Oct 2008

I see the opponent crashed in this game, not RoRoRo :)

As to how often these things are, I guess not much in 5x5 games.

#43 · FatPhil

24 Oct 2008

I elastoplasted him to minimise the damage (he'd bluster forwards, spewing error messages everywhere, but not actually crash). He luckily detected the shape as being 3 chains, which had high enough value for him to want to keep control. So he's got the wrong view of the grid, but got away with it. I guess the smallest such loop must have 15 cells, and therefore value >=13, and incorrectly treated as 3 chains (and 2 unknown cells) will have value>=11. So it's very unlikely that his misinterpretation of it will lead to him not wanting to take/keep control.

#45 · wccanard

24 Oct 2008

Heh :-) It's rare to see something very topologically complicated. Unfortunately the position after move 33 isn't actually made up completely of long chains: blue can sacrifice (in chessboard notation) b4 on his move 34 and then wins easily. So really it's a long chain ending in a loop, plus a short chain. Shouldn't RoRoRo spot that on move 33? But perhaps RoRoRo didn't analyse the position after move 33 (it wasn't his move, after all), and after move 34 (the move where blue threw it away) it's something which in practice is "a loop and a chain": blue has to open something, and after he's opened it, there's a loop left, so it's playing in exactly the same way as a chain and a loop.

Berlekamp talks about such situations in his book on dots and boxes because they help justify his claim that dots and boxes is probably NP hard. For an even more topologically complicated position the correct strategy for the player not in control is to open long chains in such a way that ultimately he has maximised the number of disjoint loops. But finding a maximal collection of disjoint loops in an arbitrary graph is NP hard. Unfortunately arbitrary graphs can't show up in dots and boxes because everything is planar. There are problems in Berlekamp's book (on much bigger boards) which involve much more topologically complicated situations.

On the 5x5 board I've now several times seen two loops meeting at a square. But this is two loops meeting in two places, which is definitely much rarer---probably the first one I've seen. Note that the smaller loop has to be at least an 8-loop for this to happen: if a big chain is joined to a 6-loop in two distinct places then there will be a route between the two joins which will only involve two other boxes and will hence be a short chain.

#46 · FatPhil

24 Oct 2008

Yup, three chains. He knows that loops are loops, but when they're not complete, they have something hanging off them. Usually that's a short chain or a long chain. A 'rho', I and RoRoRo call that, and he copes with that well. However, this has 2 things hanging off it, but worse than that, those two are the same thing! Then which part is the "loop", and which is the extra bit? A meaningless question, they're all equivalent. So RoRoRo simply can't find the loop, as there isn't one. (If he looked ahead, he'd see that as soon as part of it was destroyed the rest becomes a loop, but he doesn't look ahead.) So he didn't join the 3 long chain segments at all, and just pretended they were independent of each other! As I've said before, he's not very clever.

#47 · FatPhil

24 Oct 2008

I'm glad that you say that you've probably never seen it before, WC!

All we need to do now is invent the ultimate topological mathematical game: Sprouts and boxes!

#48 · wccanard

25 Oct 2008

If you consider dots and boxes on some theoretical level (like Berlekamp does) then it does attain a much more topological feel to it, that you don't see in practice on a 5x5 board because there's no room for topologically complicated graphs. Look at Berlekamp's puzzles on huge boards---even the puzzle on the front of his book (and no doubt you can find a picture of the front of the book on e.g. amazon) is something like genus 4 or 5 or something (I can't remember and don't have the book to hand). The way to play it (as the non-controlling player) is to spot the disjoint cycles by hand and then play for them.

#49 · Macbi

14 Nov 2008

This game: http://www.littlegolem.net/jsp/game/game.jsp?gid=953710&nmove=23

When I played move 23, I thought it was a winning move (and my opponent admitted he had made a mistake), but when I came to play 25 I couldn't find a winning move. Was I just being stupid? I still can't see a winning move, but I'm sure I had it all planed out when I played 23.

#50 · wccanard

14 Nov 2008

I've only just glanced at the game but it's looking good for you around move 23. You're blue so you're playing the even moves, so you're off by one: you played move 22 and move 24, not move 23. But the line you played wins for you. Your move 28 was very good: it decreases the value of the LCB and doesn't change the SCB and you have won from this position. Your mistake was move 30: you've sacrificed a box when there's a free move left, so suddenly the chain battle is worth 1 to him instead of 1 to you. Now you're going *doh*, right? You've played the late middlegame and endgame very well until that point!

wcc

Last page