Hi everyone,

I still use the mat-format frequently to archive matches. I just recognized a bug of gnubg (both 0.15 and 0.16) when exporting matches into mat format under the following condition:

One player still has some chances, rolls his dice, doesn't roll the required rolls and resigns after rolling without having moved his checkers. The sgf-file will contain the rolled dice and the resignation. The exported mat file however does not show the rolled dice. Instead the mat file will contain the dice and moves done by the _other_ play before.

Here a little example from a match of this year's World Championship (thanks, ace):

That's how game 1 was actually played. After rolling 41 player BLACK resigned in game 1:

17 point match

Game 1
WHITE : 0                      BLACK : 0
 1) 53: 8/3 6/3                 54: 13/8 24/20
 2) 31: 8/5* 6/5                53:
 3)  Doubles => 2                Takes
 4) 51: 13/8 24/23              32: 25/23 24/21
 5) 63: 13/7 7/4*               51: 25/24 6/1*
 6) 33: 25/22 13/10 10/7 7/4    53: 8/3* 6/3
 7) 22: 25/23 23/21 6/4 4/2*    64:
 8) 22: 13/11 8/6 6/4 4/2       42:
 9) 64: 11/5 5/1*               41: 25/24*
10) 52: 25/20 13/11             52:
11) 32: 21/18 8/6               61: 25/24 13/7*
12) 21: 25/24* 20/18*           34:
13) 11: 11/10 6/5 5/4 4/3       63:
14) 61: 24/18 3/2               65:
15) 62: 18/16 16/10             32:
16) 51: 18/13 10/9              41: 25/24
17) 64: 10/4 13/9               41: 25/24 13/9
18) 32: 23/20 20/18             62: 13/7* 9/7
19) 63:                         33: 8/5 8/5 7/4 7/4
20) 43:                         33: 13/10 10/7 8/5 7/4
21) 42: 25/23 9/5               64: 24/18 6/2*
22) 43:                         63: 24/18 5/2
23) 31: 25/24 9/6               52: 18/13 18/16
24) 64: 24/18 18/14             65: 24/18 16/11*
25) 12: 25/24 5/3               41: 18/14 14/13
26) 22: 5/3 5/3 3/1* 3/1        63:
27) 61: 24/18 18/17             42:
28) 63: 17/14* 14/8             43:
29) 43: 8/4 6/3                 52: 25/20
30) 33: 6/3 6/3 3/0 3/0         32:
31) 53: 4/0 4/1                 64: 25/19 13/9
32) 63: 4/0 3/0                 32: 9/6 20/18
33) 22: 4/2 2/0 2/0 2/0         31: 13/10 19/18
34) 32: 3/0 2/0                 52: 18/13 13/11
35) 32: 3/0 3/1                 52: 11/6 18/16
36) 65: 1/0 1/0 41: Wins 4 points

Game 2
WHITE : 4                      BLACK : 0
 1)                             35: 6/3 8/3
 2) 65: 24/18 18/13             41: 13/9 24/23
3) 41: 6/2* 2/1* 62: 25/23

And that's how the match file looks after having been exported from gnubg:


17 point match

Game 1
WHITE : 0                      BLACK : 0
 1) 53: 8/3 6/3                 54: 24/20 13/8
 2) 31: 8/5* 6/5                53:
 3)  Doubles => 2                Takes
 4) 51: 24/23 13/8              32: 25/23 24/21
 5) 63: 13/7 7/4*               51: 25/24 6/1*
 6) 33: 25/22 13/10 10/7 7/4    53: 8/3* 6/3
 7) 22: 25/23 23/21 6/4 4/2*    64:
 8) 22: 13/11 8/6 6/4 4/2       42:
 9) 64: 11/5 5/1*               41: 25/24*
10) 52: 25/20 13/11             52:
11) 32: 21/18 8/6               61: 25/24 13/7*
12) 21: 25/24* 20/18*           34:
13) 11: 11/10 6/5 5/4 4/3       63:
14) 61: 24/18 3/2               65:
15) 62: 18/16 16/10             32:
16) 51: 18/13 10/9              41: 25/24
17) 64: 13/9 10/4               41: 25/24 13/9
18) 32: 23/20 20/18             62: 13/7* 9/7
19) 63:                         33: 8/5 8/5 7/4 7/4
20) 43:                         33: 13/10 10/7 8/5 7/4
21) 42: 25/23 9/5               64: 24/18 6/2*
22) 43:                         63: 24/18 5/2
23) 31: 25/24 9/6               52: 18/16 18/13
24) 64: 24/18 18/14             65: 24/18 16/11*
25) 12: 25/24 5/3               41: 18/14 14/13
26) 22: 5/3 5/3 3/1* 3/1        63:
27) 61: 24/18 18/17             42:
28) 63: 17/14* 14/8             43:
29) 43: 8/4 6/3                 52: 25/20
30) 33: 6/3 6/3 3/0 3/0         32:
31) 53: 4/1 4/0                 64: 25/19 13/9
32) 63: 4/0 3/0                 32: 20/18 9/6
33) 22: 4/2 2/0 2/0 2/0         31: 19/18 13/10
34) 32: 3/0 2/0                 52: 18/13 13/11
35) 32: 3/1 3/0                 52: 18/16 11/6
36) 65: 1/0 1/0                 65: 1/0 1/0
     Wins 4 points

Game 2
WHITE : 4                      BLACK : 0
 1)                             35: 8/3 6/3
 2) 65: 24/18 18/13             41: 24/23 13/9
 3) 41: 6/2* 2/1*               62: 25/23

So instead of 41: the last move in game one of player BLACK is displayed as 65: 1/0 1/0, the repeated move of the other player.


Regards,

Hardy ;-)


--
Hardy's Backgammon Pages --> www.hardys-backgammon-pages.com



_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to