Cute should be more forgiving in move parsing for some older xboard
programs. I guess there are more cases especially for castling.
(probably e1g1 0-0 O-O can happen? - HG surely knows them
and other move output quirks for backward compatibility...)
BTW what happens if no promotion piece is given with the move?
I know that this can happen for several uci and xboard programs,
do you assume Q always then, or do you also send 'illegal move'?
Code: Select all
> Aldebaran_070(0): time 29999
otim 29388
> Aldebaran_070(0): d7d6
< Aldebaran_070(0): move d2d4
> Aldebaran_070(0): time 29999
otim 28039
> Aldebaran_070(0): g8f6
< Aldebaran_070(0): move c2c4
> Aldebaran_070(0): time 29999
otim 27854
> Aldebaran_070(0): g7g6
< Aldebaran_070(0): move g2g3
> Aldebaran_070(0): time 29999
otim 27732
> Aldebaran_070(0): f8g7
< Aldebaran_070(0): move f1g2
> Aldebaran_070(0): time 29999
otim 27625
> Aldebaran_070(0): c7c6
< Aldebaran_070(0): Aldebaran v. 0.7.0
< Aldebaran_070(0): by Mauro Scarpa
< Aldebaran_070(0):
< Aldebaran_070(0):
< Aldebaran_070(0): feature myname="Aldebaran 0.7.0"
> Aldebaran_070(0): accepted myname
< Aldebaran_070(0): Allocato: 857.00
< Aldebaran_070(0): 1 -13 0 5 c4c5 d6c5 d4c5 d8d1 e1d1
< Aldebaran_070(0): 1 8 0 15 d4d5
< Aldebaran_070(0): 1 20 0 19 e2e3
< Aldebaran_070(0): 1 26 0 50 0-0
< Aldebaran_070(0): 1 26 0 50 0-0
< Aldebaran_070(0): 2 6 0 90 0-0 e8g8
< Aldebaran_070(0): 2 6 0 227 0-0 e8g8
< Aldebaran_070(0): 3 20 0 862 0-0 e8g8 e2e3
< Aldebaran_070(0): 3 20 0 3041 0-0 e8g8 e2e3
< Aldebaran_070(0): 4 6 1 4733 0-0 e8g8 e2e3 e7e6
< Aldebaran_070(0): 4 6 3 11241 0-0 e8g8 e2e3 e7e6
< Aldebaran_070(0): 5 14 9 37697 0-0 e8g8 b1d2 e7e6 e2e4
< Aldebaran_070(0): 5 14 15 91368 0-0 e8g8 b1d2 e7e6 e2e4
< Aldebaran_070(0): 6 4 25 162834 0-0 e8g8 e2e3 e7e6 b1c3 d6d5
< Aldebaran_070(0): 6 4 118 565467 0-0 e8g8 e2e3 e7e6 b1c3 d6d5
< Aldebaran_070(0): 7 10 230 1088643 0-0 e8g8 d1d3 e7e6 e2e4 d6d5 b1c3
< Aldebaran_070(0): 7 10 486 3234394 0-0 e8g8 d1d3 e7e6 e2e4 d6d5 b1c3
< Aldebaran_070(0): move 0-0
> Aldebaran_070(0): force
> Aldebaran_070(0): result 0-1 {White makes an illegal move: 0-0}
< Aldebaran_070(0): Illegal move: accepted myname
Code: Select all
[Event "?"]
[Site "RWBC-CAPPUCCINO"]
[Date "2016.09.06"]
[Round "?"]
[White " Aldebaran_070"]
[Black "Guenther Simon"]
[Result "0-1"]
[ECO "A04"]
[Opening "Reti Opening"]
[PlyCount "10"]
[TimeControl "40/300"]
1. Nf3 d6 {6.1s} 2. d4 Nf6 {13s} 3. c4 g6 {1.9s} 4. g3 Bg7 {1.2s} 5. Bg2
c6 {1.1s, White makes an illegal move: 0-0} 0-1