# When to end a ko fight

4 posts / 0 new
Bloemen
When to end a ko fight

Most go literature is not too clear about when to end a ko fight. You read that if the ko threat is bigger than the ko, you should answer the ko threat and continue the ko fight. This implies that if the ko threat is smaller than the ko, you should ignore the ko threat and end the ko fight. This is wrong, this will cost you several points.

See the problem below, figure out the sequence that wins for Black. There are no captured stones, there is no komi (komi = 0).

Black to play and win

The only winning sequence is shown below,

W4, B7 take ko, B9 closes ko

followed by the closing moves.

Black wins with 1 point

So, the first ko threat already is smaller than the ko, but if Black would have ignored it, he would have lost by 1 point.

There happens to be a rule that easiest makes sense when, quite naturally, the ko threats are played in decreasing order. One should end the ko fight if the sum of the values of the current opponent's ko threat and the next own ko threat is smaller than the sum of the values of the ko and sente after the ko.

The value of the ko is 15 points, the value of sente after the ko is 3 points, together 18 points. The value op the ko threat Black ignored is 9 points, the value of the next ko threat is 8 points, together 17 points. So Black ignored White's ko threat for good reason according to the rule, here it happened to be the only way in which he could win.

In a normal game it is difficult to calculate some of the values, but prolonging the ko fight a bit longer usually is a good idea. You see this when replaying pro games, the pro's may not know about the rule but they apparently have an excellent feel for the score.

Kind regards,
Paul

Bloemen
Proof of the rule for when to end a ko fight

Here follows a mathematical proof of the rule for when to end a ko fight.

Suppose player Black (B) and player White (W).

When Black ends the ko he gains KB points from Black’s point of view. When White ends the ko he gains KW points from White’s point of view. K, the value of the ko, is KB + KW.

When Black gains sente after the ko fight, he gains SB points from Black’s point of view. When White gains sente after the ko fight, he gains SW points from White’s point of view. S, the value of sente, is SB + SW.

The next ko threat of Black has the value of TB points from Black’s point of view. The next ko threat of White has the value of TW points from White’s point of view.

The player who ends the ko fight gains his value of the ko, loses the value of the opponent’s ko threat, but gains his value of the subsequent sente.

When Black ends the ko fight he gets: KB – TW + SB points from Black’s point of view.

When White ends the ko fight at his turn, after Black decided to continue the ko fight, he gets: KW – TB + SW points from White’s point of view, that is:
– KW + TB – SW points from Black’s point of view.

A player should only end the ko fight if the result is better than when the opponent ends the ko fight at the next opportunity. To end the ko fight, Black has to find out whether:
KB – TW + SB > – KW + TB – SW. That is, whether:
KB + KW + SB + SW > TB + TW. That is, whether:
TW + TB < K + S.

Stated in words: one should end the ko fight if the sum of the values of the current opponent's ko threat and the next own ko threat is smaller than the sum of the values of the ko and sente after the ko.

In the above problem the values are:

The ko: KB = 13, KW = 2. The value of the ko is: K = 15.

Sente after the ko fight, two moves, biggest played first: SB = 4, SW = –1. The value of the sente is: S = 3.

White has three ko threats: TW,1 = 11, TW,2 = 9, TW,3 = 7. Black has two ko threats: TB,1 = 10, TB,2 = 8.

Kind regards,
Paul

whosthere
nice analysis, but I think

nice analysis, but I think things get much more complicated when there are multiple kos on the board, though I'm not sure. (which threats do you use for which ko)

Bloemen