Moderators: hgm, Andres Valverde
[Event "Computer Chess Game"]
[Site "MAKRO-PC"]
[Date "2013.03.03"]
[Round "4"]
[White "TJshogi5x5 0.19"]
[Black "NebiyuAlien_1.43"]
[Result "1-0"]
[TimeControl "40/60"]
[Variant "shogi"]
[FEN "+b1sk1/1+b1rp/3G1/PS2R/K1G2[-] w 3 1"]
[SetUp "1"]
{--------------
+ . s k .
. + . r p
. . . G .
P S . . R
K . G . .
white to play
--------------}
1. Gc2 {-1.50/11} Sc4 {+11.85/20 1.4} 2. Gxd4 {+0.00/9 0.4} Kxd4
{+11.80/18 1.4} 3. Sa3 {-0.40/10 1.1} +Bc5 {+11.65/17 1.2} 4. Gd2
{-0.70/9 0.5} Ke5 {+12.90/17 1.4} 5. Kb1 {-2.30/10 0.9} +Bd4
{+12.95/17 1.3} 6. R@b2 {-4.50/10 1.9} G@c3 {+14.10/18 1.4} 7. Gxc3
{-6.30/11 1.6} Sxc3 {+19.30/19 1.4} 8. G@d1 {-7.40/11 1.7} e3
{+19.75/18 1.4} 9. Rec2 {-13.86/11 7} Sxc2 {+35.35/23 1.5} 10. Gxc2
{-15.20/11 2.4} R@e1 {+54.70/19 1.4} 11. S@c1 {-20.38/11 2.0} Rd1+
{+41.05/21 1.3} 12. Sb4 {-199.86/9 0.7} +Bxb4 {+299.86/23 1.5} 13. a3
{-199.90/9 2.7}
[Event "Computer Chess Game"]
[Site "MAKRO-PC"]
[Date "2013.03.03"]
[Round "89"]
[White "Shokidoki UEC6+66h1"]
[Black "NebiyuAlien_1.43"]
[Result "1-0"]
[TimeControl "40/60"]
[Variant "shogi"]
[FEN "1r1gk/3sp/P4/1SG2/K3R[Bb] b 1 1"]
[SetUp "1"]
{--------------
. r . g k
. . . s p
P . . . .
. S G . .
K . . . R
black to play
--------------}
1... Rxb2 {+0.65/16 1.3} 2. Gxb2 {+0.60/10 0.9} B@c3 {+0.45/16 1.7} 3. Gxc3
{+0.84/9 0.6} Sxc3 {+0.45/17 1.4} 4. R@b5 {+0.08/9 4} G@b4 {+0.35/16 1.2}
5. B@d4 {+0.08/8 0.8} Sxd4 {+0.00/18 1.1} 6. Rxb4+ {+0.16/9 1.1} B@c3
{+1.40/18 1.8} 7. +Rxc3 {+0.72/10 0.8} Sxc3 {+0.95/16 1.2} 8. G@a2
{+0.80/9 1.1} R@b4 {+1.90/17 1.3} 9. B@b3 {+0.16/9 0.7} Gc4 {+2.40/17 2.1}
10. Rb1 {-4.12/10 3} Gxb3 {+9.90/18 1.3} 11. Gxb3 {-8.72/9 1.7} B@c2
{+12.95/17 1.4} 12. B@d4 {-8.56/8 0.6} Sxd4 {+13.55/17 1.2} 13. Gxb4
{-10.00/9 0.9} B@c3 {+13.50/18 1.4} 14. G@b2 {-11.28/10 1.0} Bxb1+
{+13.60/18 1.5} 15. Kxb1 {-11.32/1} Bxb4 {+13.70/15 1.4} 16. Ka2
{-9.48/8 0.8} R@e2 {+15.60/16 1.4} 17. B@c1 {-10.20/8 0.9} Re1+
{+17.00/15 1.4} 18. R@b5 {-11.20/8 1.1} S@c5 {+18.85/17 1.4} 19. Rxc5+
{-17.12/9 1.8} Sxc5 {+27.35/17 1.4} 20. Gb1 {-399.72/9 2.6} +Rxc1
{+299.84/17 1.5} 21. Gxc1 {-399.76/10 0.9} B@d5 {+299.86/17 1.4} 22. S@c4
{-399.80/10 0.2}
{White wins on time} 1-0
setboard 2sbk/1bS1p/P4/K4/2G2[Rrg] b 2 22
d
a b c d e
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 . . s b k * * * * * * * * * * * * * * * * * * * * * * * 5
4 . b S . p * * * * * * * * * * * * * * * * * * * * * * * 4
3 P . . . . * * * * * * * * * * * * * * * * * * * * * * * 3
2 K . . . . * * * * * * * * * * * * * * * * * * * * * * * 2
1 . . G . . * * * * * * * * * * * * * * * * * * * * * * * 1
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
a b c d e
[Material: 6970 7990 ]
2sbk/1bS1p/P4/K4/2G2[gRr] b - - 2 22
go
[search_time = 6175ms, max_time = 29250ms , moves_left 9, max_nodes 0]
2 2080 0 175 d5c4 a2b2 EBF=12.70
3 2420 0 600 d5c4 R@b3 b4e1+ EBF=8.07
4 2420 0 926 d5c4 a2b1 b4e1+ R@c2 EBF=5.23
5 2480 0 2219 d5c4 a2b1 b4e1+ R@c2 g@c3 EBF=4.44
5 2480 0 2238 d5c4 a2b1 b4e1+ R@c2 g@c3 EBF=4.44
6 2500 1 4534 d5c4 a2b1 b4e1+ R@d2 s@c3 d2d1 EBF=3.87
6 2500 1 5015 d5c4 a2b1 b4e1+ R@d2 s@c3 d2d1 EBF=3.94
7 2545 1 9999 d5c4 a2b1 g@a2 b1c2 r@e2 c2d1 b4e1+ EBF=3.56
7 2545 2 11208 d5c4 a2b1 g@a2 b1c2 r@e2 c2d1 b4e1+ EBF=3.62
8 2660 3 29865 d5c4 R@b3 b4e1+ c1c2 s@c3 c2c1 c4b3 a2b3 EBF=3.48
8 2660 3 30787 d5c4 R@b3 b4e1+ c1c2 s@c3 c2c1 c4b3 a2b3 EBF=3.49
9 2740 4 40985 d5c4 R@b3 b4e1+ a2b2 s@c3 b3c3 r@a2 b2b1 e1c3 EBF=3.12
9 2740 4 43125 d5c4 R@b3 b4e1+ a2b2 s@c3 b3c3 r@a2 b2b1 e1c3 EBF=3.14
10 2835 5 63509 d5c4 R@b3 b4e1+ c1b2 s@c3 b2c3 e1c3 S@a4 c4b3 a4b3 EBF=2.90
10 2835 6 72705 d5c4 R@b3 b4e1+ c1b2 s@c3 b2c3 e1c3 S@a4 c4b3 a4b3 EBF=2.94
11 2980 8 101673 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 r@b3 b2a2 c3c1+ a2b3 b4e1+ EBF=2.74
11 2980 9 109504 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 r@b3 b2a2 c3c1+ a2b3 b4e1+ EBF=2.76
12 29988 10 135505 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.57
12 29988 11 146166 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.59
13 29988 13 164959 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.42
13 29988 16 210524 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.47
14 29988 18 246228 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.33
14 29988 22 305282 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.37
15 29988 29 383774 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.27
15 29988 41 581852 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.33
16 29988 52 711576 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.24
16 29988 67 934070 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.28
17 29988 103 1417976 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.22
17 29988 131 1831646 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.26
18 29988 204 2823880 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.21
18 29988 253 3560385 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.24
19 29988 391 5559597 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.19
19 29988 472 6788748 d5c4 R@b3 c4b3 a2b3 r@c3 b3b2 g@b3 b2a1 s@a2 a1a2 b3a2 EBF=2.22
nodes = 6788748 <45 qnodes> time = 4725ms nps = 1436772
splits = 0 badsplits = 0
move d5c4
a b c d e f
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
6 . r . . . k * * * * * * * * * * * * * * * * * * * * * * 6
5 n . . . b p * * * * * * * * * * * * * * * * * * * * * * 5
4 . . . . O S * * * * * * * * * * * * * * * * * * * * * * 4
3 p S . . . . * * * * * * * * * * * * * * * * * * * * * * 3
2 K . . . . . * * * * * * * * * * * * * * * * * * * * * * 2
1 . G . N . . * * * * * * * * * * * * * * * * * * * * * * 1
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
a b c d e f
[Material: 9260 6925 ]
1r3k/n3bp/4OS/pS4/K5/1G1N2[GB] w - - 1 21
About the protocol: I went through WinBoard to make an inventory of all gameInfo.variant == Variant... conditions, and it is very murky how to replace that by flags with a clear meaning. As a temporary measure, couldn't we simply allow the engine to specify the 'parent variant' in the setup command? In the Alien protocol it can already specify the board size. We might as well let it write 5x5+5_shogi. So if an engine says feature variants="mini-Shogi (5x5)", this would appear in a combobox in the New Variant dialog. If the user chooses it WinBoard would send variant mini-Shogi (5x5), which the engine would of course recognize. It can then send a setup command to WinBoard specifying pieceToCharTable, initial position, board size and 'shogi'.
void setup() {
print("setup (%s) %dx%d+%d_%s %s\n",setup_str,BOARDX,BOARDY,HOLDINGS,PARENT,start_fen);
}
A more complex change would be to make the New Variant dialog similar to the Load Engine or Themes dialogs, with a listbox listing all the variants, and a set of checkboxes, spins and text-edits to specify the individual rule modifiers. The user could then define his own combination of rule modifications, (which in the current New Variant dialog he can do for board size), and give a name to it, just like he now can define themes. This requires there to be a command-line option for every individual rule modifier. (But even in the current situation, the options -variant, -boardWidth, -boardHeight, -holdingsSize, -pieceToCharTable could be made setable in that dialog, and together with a new string option -startPos (which could be set by ticking a checkbox 'Use current board position as initial one') this would get you a long way defining your own variants.
In the future anything is possible, but 4.7.0 is what it is. And in principle it can do what is needed, (setting up the position), but only when leaving out the board-size / variant part. I think it would be very bad form not to respect backward compatibility, if it is easy to do it.
It should not be that difficult to refrain from sending the 5x5+5_shogi part if that exactly matched the variant requested by the GUI?
It will be a fair amount of work to port all features of the Alien Edition into the main branch. But what is worse, the Alien Edition was an experiment, and I am not entirely happy with it. The implementation of multi-leg moves is really awful and bug-prone, leaving the stack of boards in a state which is inconsistent, and has undefined effects when the user starts stepping through the game before the move entry is completed. In addition loading games in variant alien that need board update is still not possible even in the Alien edition. Having to use the Ctrl key for multi-leg move entry is horrible. In addition there is the XBoard problem; the Alien patch never worked in XBoard.
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 8 guests