It is currently Wed Apr 30, 2025 9:27 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
Offline
 Post subject: Some endgame fun
Post #1 Posted: Fri Jan 28, 2011 3:32 am 
Tengen
User avatar

Posts: 4511
Location: Chatteris, UK
Liked others: 1589
Was liked: 656
Rank: Nebulous
GD Posts: 918
KGS: topazg
Following the discussions of useful endgame analysis, I made this post in response to a post by Numsgil, and thought that, actually, some fun and very practical question exercise could be made from it. So, what's the value of "a" in the following positions:

Click Here To Show Diagram Code
[go]$$Wcm1 Position A
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 Position B
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . W . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 Position C
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 Position D
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . C . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 Position E
$$ | . . O X . X X X X X X C . . . . . . . |
$$ | . . O X X X O O O O B C . X . . . . . |
$$ | . . . O O O O . . W O X . . . , . . . |
$$ | . . . . . . . . . . O X . C . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 Position F
$$ | . . O X . X X X X X X C . . . . . . . |
$$ | . . O X X X O O O O B C . X . . . . . |
$$ | . . . O O O O . . . O X . . . , . . . |
$$ | . . . . . . . . . . O X . C . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #2 Posted: Fri Jan 28, 2011 4:28 am 
Lives in gote
User avatar

Posts: 476
Liked others: 193
Was liked: 83
Rank: Dutch 2 dan
GD Posts: 56
KGS: hopjesvla
My "solutions" to your problems (assuming that I did not mis-count):
topazg wrote:
So, fun final positions to think about and evaluate:

Click Here To Show Diagram Code
[go]$$Wcm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


7 points sente for black?

topazg wrote:
Click Here To Show Diagram Code
[go]$$Wcm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . C . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


I count 14 (!) points in gote

_________________
My name is Gijs, from Utrecht, NL.

When in doubt, play the most aggressive move

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #3 Posted: Fri Jan 28, 2011 5:20 am 
Oza
User avatar

Posts: 2508
Liked others: 1304
Was liked: 1128
Before attempting to answer the problems Topazg posed, I would like to share with you a sentence from Winning Go that for many is self-evident, but for me was fog-lifting:

"The reader will notice that as long as the initial X's exceed the territories won and lost, their amount is irrelevant and only provide a handy basis for comparisons."

The X's that the authors refer to, are the ones you use to count the territory in an endgame problem.

Click Here To Show Diagram Code
[go]$$Super simplified example
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . . . O . O X . X . . |
$$ . . . . . . a b . . . . |
$$ ------------------------[/go]


For example, when calculating the value of a black move at "a" vs a white move at "b," we play out the sequences and then mark territory with X's. It doesn't matter if we do it like this:

Click Here To Show Diagram Code
[go]$$white 12 black 11
$$ . . , . . . O X , . . . |
$$ . O x x x x O X x x x x |
$$ . x x x O x O X x X x x |
$$ . x x x x 2 1 3 x x x x |
$$ ------------------------[/go]


or like this:

Click Here To Show Diagram Code
[go]$$white 6 black 7
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . x x O x O X x X x x |
$$ . . x x x 2 1 3 x x x x |
$$ ------------------------[/go]


As long as you use the same boundaries when you count the other scenario of white playing at b. So in both cases we get a white difference of 1 + a black difference of 1 = 2 pts

Click Here To Show Diagram Code
[go]$$W white 13 black 10
$$ . . , . . . O X , . . . |
$$ . O x x x x O X x x x x |
$$ . x x x O x O X x X x x |
$$ . x x x x x 3 1 2 x x x |
$$ ------------------------[/go]

Click Here To Show Diagram Code
[go]$$W white 7 black 6
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . x x O x O X x X x x |
$$ . . x x x x 3 1 2 x x x |
$$ ------------------------[/go]

_________________
Patience, grasshopper.


Last edited by daal on Fri Jan 28, 2011 6:22 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #4 Posted: Fri Jan 28, 2011 5:49 am 
Lives in gote
User avatar

Posts: 476
Liked others: 193
Was liked: 83
Rank: Dutch 2 dan
GD Posts: 56
KGS: hopjesvla
^ Following up on that post, you can simplify the procedure even further:

- Step 1: determine the results if white plays first and if black plays first, ie.
Click Here To Show Diagram Code
[go]$$
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . . . O . O X . X . . |
$$ . . . . . 2 1 3 . . . . |
$$ ------------------------[/go]

Click Here To Show Diagram Code
[go]$$Wc
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . . . O . O X . X . . |
$$ . . . . . . 3 1 2 . . . |
$$ ------------------------[/go]


- Step 2: fix these results as "mental images". Then count the "plus points" and "minus points" for both players. In the example above, if black plays first, he gains one point ('a') and white loses one point ('b'). Thus, the move is worth two points.
Click Here To Show Diagram Code
[go]$$Wc
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . . . O . O X . X . . |
$$ . . . . . b . . a . . . |
$$ ------------------------[/go]


I think that this way of counting is by far the fastest and easiest way there is. Probably most strong players count like this intuitively, but I think it's still worth pointing it out explicitly.

Now, as a more interesting example, let's try one of topazg's problems. Try to see how fast you can determine the value of 'a':
Click Here To Show Diagram Code
[go]$$Wcm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Solution:
'a' is worth 14 points gote. How did I count this? Simple. If black captures, white gets minus points at 'a' and black gets plus points at 'b' (and two for :wc:). Add everything up, and you get 14 points in gote for black. This takes me (probably) about 20 seconds to determine, plus another 10-20 seconds to verify, so it terms of time management, it's very feasible to do this whilst in byo-yomi. I think that no other method is anywhere near as fast.
Click Here To Show Diagram Code
[go]$$Wcm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . a a a . @ X b b . . . . |
$$ | . . . . . . . a a a a . b b b . . . . |
$$ ---------------------------------------[/go]


ADDENDUM: this analysis is based on the following possibilities (assuming that in :w1: in diag. 1 and :b3: in diag. 2 are gote):
Click Here To Show Diagram Code
[go]$$Wcm1 white plays first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . . . . 1 O X 4 8 . . . . |
$$ | . . . . . . . . . . . 7 3 5 6 . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Bcm1 black plays first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . 0 6 2 1 O X . . . . . . |
$$ | . . . . . . . 8 7 5 9 3 . . . . . . . |
$$ ---------------------------------------[/go]

_________________
My name is Gijs, from Utrecht, NL.

When in doubt, play the most aggressive move

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #5 Posted: Fri Jan 28, 2011 6:31 am 
Oza
User avatar

Posts: 2508
Liked others: 1304
Was liked: 1128
gaius wrote:
- Step 2: fix these results as "mental images".

I think that this way of counting is by far the fastest and easiest way there is. Probably most strong players count like this intuitively, but I think it's still worth pointing it out explicitly.
fast.


For "stronger" players I'm sure, but even in my extremely simple example, I have difficulty comparing the two mental images. When just looking at the diagram below, I even find it hard to see that "a" and "b" are the points gained.

Click Here To Show Diagram Code
[go]$$Super simplified example
$$ . . , . . . O X , . . . |
$$ . O . . . . O X . . . . |
$$ . . . . O . O X . X . . |
$$ . . . . . a . . b . . . |
$$ ------------------------[/go]


If more stones are involved, keeping the mental images in my head seems utterly impossible. Keeping two numbers in my head on the other hand is not so hard.

_________________
Patience, grasshopper.


Last edited by daal on Fri Jan 28, 2011 7:07 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #6 Posted: Fri Jan 28, 2011 7:03 am 
Oza
User avatar

Posts: 2508
Liked others: 1304
Was liked: 1128
topazg wrote:
So, what's the value of "a" in the following positions:


Click Here To Show Diagram Code
[go]$$Wcm1 Position A
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Wcm1 For counting purposes, we can assume 2 and 3 since either are gote. w13 b4
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O x x x O X . . . , . . . |
$$ | . . . . . . . x x x O X . X . . . . . |
$$ | . . . . . . . x x x 1 O X x x . . . . |
$$ | . . . . . . . x x x x 3 2 x x . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$cm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . 2 1 O X . . . . . . |
$$ | . . . . . . . . . . . 3 . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$cm1 Will this happen? w6 b7
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O x x x O X . . . , . . . |
$$ | . . . . . . . x x x O X . X . . . . . |
$$ | . . . . . . . 6 2 O X x X x x . . . . |
$$ | . . . . . . . 4 3 1 5 X x x x . . . . |
$$ ---------------------------------------[/go]


Difference: 10 points.


Position B
5 points

_________________
Patience, grasshopper.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #7 Posted: Fri Jan 28, 2011 7:20 am 
Tengen
User avatar

Posts: 4511
Location: Chatteris, UK
Liked others: 1589
Was liked: 656
Rank: Nebulous
GD Posts: 918
KGS: topazg
@daal

Evaluation of endgame is not just the points, but the sente / reverse sente / gote aspect of it is vital. 10 points of which?

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #8 Posted: Fri Jan 28, 2011 7:27 am 
Oza
User avatar

Posts: 2508
Liked others: 1304
Was liked: 1128
topazg wrote:
@daal

Evaluation of endgame is not just the points, but the sente / reverse sente / gote aspect of it is vital. 10 points of which?


I really don't know. The first part ends in gote for black:

Click Here To Show Diagram Code
[go]$$cm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . 2 1 O X . . . . . . |
$$ | . . . . . . . . . . . 3 . . . . . . . |
$$ ---------------------------------------[/go]


But since white's response would also be gote, the second part would be black's priviledge, i.e., sente for black.

Click Here To Show Diagram Code
[go]$$cm1 Will this happen? w6 b7
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O x x x O X . . . , . . . |
$$ | . . . . . . . x x x O X . X . . . . . |
$$ | . . . . . . . 6 2 O X x X x x . . . . |
$$ | . . . . . . . 4 3 1 5 X x x x . . . . |
$$ ---------------------------------------[/go]


I don't know what to call it.

_________________
Patience, grasshopper.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #9 Posted: Fri Jan 28, 2011 7:33 am 
Tengen
User avatar

Posts: 4511
Location: Chatteris, UK
Liked others: 1589
Was liked: 656
Rank: Nebulous
GD Posts: 918
KGS: topazg
daal wrote:
I really don't know. The first part ends in gote for black:

Click Here To Show Diagram Code
[go]$$cm1
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . 2 1 O X . . . . . . |
$$ | . . . . . . . . . . . 3 . . . . . . . |
$$ ---------------------------------------[/go]


But since white's response would also be gote, the second part would be black's priviledge, i.e., sente for black.

Click Here To Show Diagram Code
[go]$$cm1 Will this happen? w6 b7
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O x x x O X . . . , . . . |
$$ | . . . . . . . x x x O X . X . . . . . |
$$ | . . . . . . . 6 2 O X x X x x . . . . |
$$ | . . . . . . . 4 3 1 5 X x x x . . . . |
$$ ---------------------------------------[/go]


I don't know what to call it.


Because the first stage is gote for both, it's gote. As Black gets the second part in sente, it's "incorporated" into the reading of the first part as a given extension to the sequence, but it doesn't change the fact that the first part finishes in gote.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #10 Posted: Fri Jan 28, 2011 8:55 am 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
Numsgil was interested in practical application, so I will direct my remarks to that. :)

Click Here To Show Diagram Code
[go]$$Wcm1 Position B
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . W . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


As I said, memory and experience help. I happen to know that a play at "a" by either player gains 3 points. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #11 Posted: Fri Jan 28, 2011 9:22 am 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
I happen to know this one, too. But let's pretend that I don't.

Click Here To Show Diagram Code
[go]$$Wcm1 Position A
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


White first is easy. :)

Click Here To Show Diagram Code
[go]$$Wcm1 Position A, White first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . . O X . . . . . . |
$$ ---------------------------------------[/go]


Now, Black first:

Click Here To Show Diagram Code
[go]$$Wcm1 Position A, Black first. White reply. Black has 1 White prisoner
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . O X . X . . . . . . |
$$ | . . . . . . . . . O . X . . . . . . . |
$$ ---------------------------------------[/go]


Now, I happen to know that White has a sente here, so let's show the result.

Click Here To Show Diagram Code
[go]$$Wcm1 Position A, Black first. White reply, with follow-up. Black has 1 White prisoner
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . W X B X . . . . . . |
$$ | . . . . . . . . . W W X C . . . . . . |
$$ ---------------------------------------[/go]


If we compare this with the position when White plays first, we see that Black has two points more, one for the marked point and one for the stone captured where the marked stone is, and White has three points less, where the marked stones are. So if this is sente for Black, it is a 5 point sente. That is, the reverse sente by White gains 5 points. (And this diagram then shows the value of the original position. :) )

Click Here To Show Diagram Code
[go]$$Wcm1 Position A, Black first, with follower. Black has 1 White prisoner
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . W W O X C X . . . . . . |
$$ | . . . . . . . W B X X X . . . . . . . |
$$ ---------------------------------------[/go]


Assuming that White cannot fight the ko, after Black plays first she has a sente follow-up, shown here. If we compare this position with the one when White responds, we see that Black has 1 point more on the marked point and White has 4 points less where the marked stones are, for a difference of 5 points. So this is a 5 point sente.

So what do we have? A 5 point sente which threatens a 5 point sente? Or a gote that gains 5 points?

Actually, it is ambiguous. (See http://senseis.xmp.net/?AmbiguousPosition ). Anyway, either player gains 5 points. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.


Last edited by Bill Spight on Fri Jan 28, 2011 10:15 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #12 Posted: Fri Jan 28, 2011 10:07 am 
Lives with ko
User avatar

Posts: 295
Location: Linz, Austria
Liked others: 21
Was liked: 44
Rank: EGF 4 kyu
GD Posts: 627
daal wrote:
I don't know what to call it.


Correct. :P

(See Bill's previous post about it being ambiguous...)

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #13 Posted: Fri Jan 28, 2011 10:30 am 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
The next one I didn't know beforehand. :)

Click Here To Show Diagram Code
[go]$$Wcm1 Position C
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . b O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Does White's weakness at "b" matter?

Click Here To Show Diagram Code
[go]$$Wcm1 White first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . . O X . . . . . . |
$$ ---------------------------------------[/go]


White first is familiar. :)

Click Here To Show Diagram Code
[go]$$Wcm1 Black first, White reply. Black has 1 White prisoner.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . X . . . . . |
$$ | . . . . . . . . . O X . X . . . . . . |
$$ | . . . . . . . . . O . X . . . . . . . |
$$ ---------------------------------------[/go]


Here we see that White's defect is telling. It is Black who has the sente. Let's show that.

Click Here To Show Diagram Code
[go]$$Wcm1 Black first, White reply, with follow-up. Black has 1 White prisoner.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . O O X . X . . . . . |
$$ | . . . . . . . . . O X . X . . . . . . |
$$ | . . . . . . . . . O X X . . . . . . . |
$$ ---------------------------------------[/go]


Now, since we know that without the defect this is on the borderline of sente, with the defect it is certainly sente. :) Now if we compare diagrams, we see that there is a difference of 7 points. So this is a 7 point sente, and the reverse sente gains 7 points.

Note:

Click Here To Show Diagram Code
[go]$$Wcm1 Black first, White reply, with realistic follow-up. Black has 1 White prisoner.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O B X . X . . . . . |
$$ | . . . O O O O . . O O X . . . , . . . |
$$ | . . . . . . . O X X O X . X . . . . . |
$$ | . . . . . . . . O O X . X . . . . . . |
$$ | . . . . . . . . . O X X . . . . . . . |
$$ ---------------------------------------[/go]


In a real game the follow-up position will look like this, so that Black has a ko threat. But as far as the count is concerned, it is all same same. I do not have to concern myself with the exact details of the play. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #14 Posted: Fri Jan 28, 2011 11:14 am 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
The next position is problematic.

Click Here To Show Diagram Code
[go]$$Wcm1 Position D
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . C . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


From what we already know, Black first is easy:

Click Here To Show Diagram Code
[go]$$Wcm1 Black first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . O O O X . X . . . . . . |
$$ | . . . . . . . O X X X X . . . . . . . |
$$ ---------------------------------------[/go]


But what about White first?

Click Here To Show Diagram Code
[go]$$Wcm1 White first
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Suppose that Black replies.

Click Here To Show Diagram Code
[go]$$Wcm1 White first, Black reply, with follower
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . O X X . . . . . . |
$$ ---------------------------------------[/go]


So if this is sente, it is a 9 point sente, as a comparison of the diagrams shows.

But is it sente? Does White threaten to gain more than 9 points if Black does not reply?

Click Here To Show Diagram Code
[go]$$Wcm1 White first. White follower.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X X O . . O . . |
$$ | . . . . . . . . . . O O X O . . . . . |
$$ | . . . . . . . . . . . . X . . . . . . |
$$ ---------------------------------------[/go]


Assuming that White lives, this is a humungous threat.

However, . . .

Click Here To Show Diagram Code
[go]$$Wcm1 White first, Black reply, White follower.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , O . . |
$$ | . . . . . . . . . . O X X O . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . . . X . . . . . . |
$$ ---------------------------------------[/go]


That assumes that Black's reply secures the corner, and that is questionable.

Click Here To Show Diagram Code
[go]$$Wcm1 White first, Black reply.
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . W . . |
$$ | . . . O O O O . . , O X . . . , . . . |
$$ | . . . . . . . . . . O X . B . . . . . |
$$ | . . . . . . . . . . O O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Even this reply, which would make an 11 point sente, is not certain to secure the corner.

Click Here To Show Diagram Code
[go]$$Wcm1 A different play?
$$ | . . O X . X X X X X X X . . . . . . . |
$$ | . . O X X X O O O O O X . X . . . . . |
$$ | . . . O O O O . . , O X . . . , W . . |
$$ | . . . . . . . . . . O X . . . . . . . |
$$ | . . . . . . . . . . a O X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Maybe "a" is not even the right local play.

When Black has no defect, we can treat the corner independently, but not now.

Note: Books on the endgame usually contain a number of ill-defined problems. They may be realistic, but their evaluation is problematic. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #15 Posted: Fri Jan 28, 2011 12:31 pm 
Lives in gote
User avatar

Posts: 614
Liked others: 28
Was liked: 65
Rank: 1 Kyu KGS
KGS: Numsgil
Bill Spight wrote:
Actually, it is ambiguous. (See http://senseis.xmp.net/?AmbiguousPosition ).


Ah yes, that was the sort of one I didn't know how to handle. I haven't gone over all your posts but I'm sure they'll be helpful for understanding how to approach problems.

Anyway, I think I'm uncomfortable with positions like this because I don't know how to bound my error. The normal endgame counting can fall apart if you just blithely assume you'll get all the sente plays you want. Though I think the normal endgame counting is more managable than I gave it credit for, since you can aggressively prune the decision tree by assuming that sente followups are automatic. But it does fail in some cases dealing with tedomari and ambiguous positions. But it's a good starting point.

...

So I have an abstract example (I'd try to make an actual position for it, but it's pretty tricky to work backwards from counts to a position).

Let's say I have 3 unrelated endgame sequences to resolve, and then the game is over. Assume that the point values below are all black's gain if he gets the move, and white doesn't gain any points when he plays.

Sequence A: 4 point gote play (A1) with a 1 point sente followup (A2).
Sequence B: 5 point gote play (B1) with a 2 point sente followup (B2).
Sequence C: 4 point gote play (C1) with a 3 point gote followup (C2), which itself has a 5 point sente followup (C3).

With normal endgame counting, the values would be: A:5, B:7, C:8. So we'd naively expect the play to be: Black takes C, White takes B, Black takes A. Final score: Black 13.

But if black tries that in-game:
Black takes C1 (4 points)
White prevents B1
Black takes A1 (4 points)
White uses reverse sente to prevent C2.
Black takes A2 (1 point).
Final score: Black 10. Oops...

So maybe we try a different sequence. In this case, black reevaluates using the heuristic after each move.
Black takes C1 (4 points)
White prevents B1
Black takes C2 (3 points)
White uses reverse sente and prevents C3.
Black takes A1 (4 points)
White uses reverse sente and prevents A2.

The final score here would be: Black 11. An improvement, but still 2 points off what our original heuristic gave us.

So how do we actually handle this sort of position in a way that assures us we can play optimally and find the actual final score? If we use the endgame counting heuristic, are we at least assured that the first move we play will be optimal? If so, it's just a matter of recalculating values after each move.

_________________
1k KGS

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #16 Posted: Fri Jan 28, 2011 1:27 pm 
Lives in sente

Posts: 759
Liked others: 114
Was liked: 916
Rank: maybe 2d
Numsgil wrote:
Bill Spight wrote:
Actually, it is ambiguous. (See http://senseis.xmp.net/?AmbiguousPosition ).



Anyway, I think I'm uncomfortable with positions like this because I don't know how to bound my error. The normal endgame counting can fall apart if you just blithely assume you'll get all the sente plays you want. Though I think the normal endgame counting is more managable than I gave it credit for, since you can aggressively prune the decision tree by assuming that sente followups are automatic. But it does fail in some cases dealing with tedomari and ambiguous positions. But it's a good starting point.

...

So how do we actually handle this sort of position in a way that assures us we can play optimally and find the actual final score? If we use the endgame counting heuristic, are we at least assured that the first move we play will be optimal? If so, it's just a matter of recalculating values after each move.


Optimal play in general probably cannot be achieved by any method fundamentally more efficient than actually searching the game tree and reading all the variations. (For the complexity theorists out there: are ko-free Go endgames PSPACE-complete?).

It seems to me that miai counting (or OMeien's method, I see no real difference between them) is basically the best possible that you can do by only considering each local position independently of all the others, and assigning each one a simple number or two, namely, the count and the value of a play. If you want to do any better, you probably can't really avoid using something much more complicated, such as CGT, or brute forcing the game tree.

I seem to recall that miai counting has the very nice property that in the limit, where you have lots of plays of lots of different values, the move with the highest miai value is the optimal move. It's only when things become highly discrete and the number of different plays drops (causing things like tedomari, etc.) that they differ. But still, the miai count (perhaps adjusted by half of the value of the largest remaining move depending on whose turn it is) is a stellar approximation to the optimal value of the game. At least, it's seems better declaring positions "unsettled" and having no idea, or applying other counting methods with lots of ad-hoc rules like "sente is worth double" and being unable to generalize to positions with multiple nested followups, etc.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #17 Posted: Fri Jan 28, 2011 2:21 pm 
Lives in gote
User avatar

Posts: 614
Liked others: 28
Was liked: 65
Rank: 1 Kyu KGS
KGS: Numsgil
lightvector wrote:
(For the complexity theorists out there: are ko-free Go endgames PSPACE-complete?).


It's been a long time since I studied my complexity classes, but do you mean that it's something like the travelling salesperson problem and less like a polynomial time problem like Dijkstra's algorithm? Hmm, I'm torn on if this is true or not. Certainly the early and middle game of go are crazy complex. But by the time you get to the endgame, you have a pretty strong bound on the size of the largest move.

Comparing to the travelling salesperson problem, it's like you've chosen the basic path of your solution (which would be the early and mid game of go), and now you're just refining to find the local optima.

If we assume that the endgame sequences are entirely independent, and define a "threat size" that is so large that it must be answered (that is, the move that makes the threat is 100% sente (this would break down for weird under-the-stones endgame problems where you have to sacrifice 80 something stones, but that speaks to the fun of go :))), I feel like it should be possible to efficiently find the optimal endgame sequence for both players in most normal situations using a method similar to A* (clicky).

_________________
1k KGS

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #18 Posted: Fri Jan 28, 2011 3:07 pm 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
Numsgil wrote:
Anyway, I think I'm uncomfortable with positions like this because I don't know how to bound my error.


Do you mean your error in playing, not your error in calculating? If so, Berlekamp has a strategy called Sentestrat, which does so when there are no kos. It does require accurate calculation. Simply making the largest play does not bound your error.

Code:
Sentestrat

Start with a variable called the temperature, equal to the miai value of the largest play on the board. Once that play is made, the value of the temperature becomes the miai value of the largest play now on the board, as long as it is the same or smaller than the current temperature. If the largest play on the board has a higher miai value than the current temperature, the value of the temperature remains the same, until the miai value of the largest play drops below it.

A sente play is defined as a play that puts a play on the board with a miai value greater than the current temperature.

Sentestrat says to answer all of the opponent's sente plays. :)


Sentestrat is not very sophisticated, but it does bound your error. :)

Quote:
The normal endgame counting can fall apart if you just blithely assume you'll get all the sente plays you want.


I take it that you mean that sometimes your opponent will get to make reverse sente plays. :)

Quote:
So I have an abstract example (I'd try to make an actual position for it, but it's pretty tricky to work backwards from counts to a position).

Let's say I have 3 unrelated endgame sequences to resolve, and then the game is over. Assume that the point values below are all black's gain if he gets the move, and white doesn't gain any points when he plays.


Do you mean score or count? E. g., a position with this game tree,
Code:
                    A
                   / \
                  4   0


where / indicates a Black play and \ indicates a White play, is what you mean by one where Black gains 4 points and White gains nothing?

Quote:
Sequence A: 4 point gote play (A1) with a 1 point sente followup (A2).
Sequence B: 5 point gote play (B1) with a 2 point sente followup (B2).
Sequence C: 4 point gote play (C1) with a 3 point gote followup (C2), which itself has a 5 point sente followup (C3).

With normal endgame counting, the values would be: A:5, B:7, C:8.


If so, it sounds like the game tree for A looks like this:
Code:
                    A
                   / \
                  A1  0
                 / \
                A2  4
               / \
             Big  5


And B looks like this:
Code:
                    B
                   / \
                  B1  0
                 / \
                B2  5
               / \
             Big  7


And C looks like this:
Code:
                    C
                   / \
                  C1  0
                 / \
                C2  4
               / \
              C3  8
             / \
           Big  13


Is that what you mean? (I am really not sure about C.)

Quote:
So how do we actually handle this sort of position in a way that assures us we can play optimally and find the actual final score? If we use the endgame counting heuristic, are we at least assured that the first move we play will be optimal?


No, we do not have that assurance. The largest play is not always the best play. And in fact, always making the largest play can have a theoretically unbounded error. Berlekamp's Sentestrat does bound the error.

Now, with the game trees that I have constructed, a play in A gains 2.5 points, a play in B gains 3.5 points, and a play in C gains 4 points. The original count is 10 points. If each player takes the largest play, then

Black plays C, for a count of 14.
White plays C1, for a count of 10.
Black plays B, for a count of 13.5.
White plays A, for a count of 11.
Black plays B1 with sente, for a count of 11.
(You can verify that Black gets 4 in C and 7 in B.)

Can either player do better? :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #19 Posted: Fri Jan 28, 2011 6:25 pm 
Lives in gote
User avatar

Posts: 614
Liked others: 28
Was liked: 65
Rank: 1 Kyu KGS
KGS: Numsgil
Quote:
Do you mean your error in playing, not your error in calculating?

I think both are problems :), but I specifically meant the possible error in my estimation/expected value if actual play violates some of the assumptions I made (such as assuming that no reverse sente plays will be made). I can't always calculate the right answer for the value of an endgame, but I don't mind at all theorizing on perfect play with the assumption that I can.

Quote:
If so, Berlekamp has a strategy called Sentestrat, which does so when there are no kos. It does require accurate calculation. Simply making the largest play does not bound your error.


Yes! That's the sort of thing I was thinking should exist. I'll have to spend a bit of time playing with the idea in my head. Is it a solid guarantee, with no exceptions in ko-less endgames? Like is there ever a time where responding to a "sente" play with a threat larger than the current temperature is suboptimal?

Also, as I understand it, it does not indicate which order of play is best? It just gives us a hard and fast rule for which plays are actually sente (helps to disambiuate ambiguous.

So yeah, it feels like with this as a hard bound, you should be able to build up the global decision tree and traverse it to the optimal solution using something like A*. I'll have to think about whether you can uses miai as the heuristic

Quote:
Quote:
The normal endgame counting can fall apart if you just blithely assume you'll get all the sente plays you want.

I take it that you mean that sometimes your opponent will get to make reverse sente plays.

Yes. Seems to throw a monkey wrench into the normal counting methods some of the time. (I guess this is miai counting I'm talking about? Where you assume sente plays will get made, and when choosing between a sente play and a gote play, you value the sente play at 2x. I learned it from the Elementary Go Kiseido series.)

Quote:
Do you mean score or count?


Bleh, I can never remember which is which, so for the record I have and probably will butcher these terms, and even use them interchangably. I probably should just suck it up and learn to use the terms with their specific formal meanings :)

Quote:
E. g., a position with this game tree,
Code:
A
/ \
4 0


where / indicates a Black play and \ indicates a White play, is what you mean by one where Black gains 4 points and White gains nothing?

Yes. White gains by preventing black's 4 point play, even though he makes no points himself, so it's worth 4 points to either player.

Quote:
Is that what you mean? (I am really not sure about C.)

All are correct, but for C, it should be:
Code:
                    C
                   / \
                  C1  0
                 / \
                C2  4
               / \
              C3  7
             / \
           Big  13


Also, for labeling the moves, If black wants to play the C sequence, he plays C1. There is no 'C' move. So for the move order you have, I think you need to add 1 to each of the "plays X" to match up with the examples I gave.

Quote:
Can either player do better?


I don't think so, though I'm not super sure. Assuming it is optimal, here's a better example to play around with (taken from the sensei's tedomari page). (Also note: numbers represent the inherant gain or loss of score, from black's point of view, for a particular node to be reached. It does not represent the miai value of nodes below it, for instance).
Code:
       A
      / \
A1   0  -3

       B
      / \
B1   0  -4

        C
       / \
C1    2   0
        /  \ (sente for white)
C2     0   -3


In this case, playing just the biggest move first leads to the move order:
Black B1 (+0), White C1 (0), Black A1 (0), White C2 (-3) = -3

However this move order is one point better for black:
Black C1 (+2), White B1 (-4), Black A1 (+0) = -2

The tedomari page talks about using infinitestimals to find the right sequence, which I don't know a lot about. But are there endgame sequences where other issues than tedomari prevent the biggest-move-on-the-board-first from reaching the optimal solution (still not counting kos)? Is the loss in points always no more than 1?

_________________
1k KGS

Top
 Profile  
 
Offline
 Post subject: Re: Some endgame fun
Post #20 Posted: Fri Jan 28, 2011 6:28 pm 
Tengen
User avatar

Posts: 4511
Location: Chatteris, UK
Liked others: 1589
Was liked: 656
Rank: Nebulous
GD Posts: 918
KGS: topazg
Wow, I'm guessing people don't really want to answer these then :P

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group