H.G.Muller: FRC Winboard_F castle.

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

H.G.Muller: FRC Winboard_F castle.

Post by George Tsavdaris »

You posted a message here some minutes ago, about this but now i can't find it!? What happened?

Anyway Firefox hopefully saved it in its cache so:
Is there something strange in the following game, or is this normal? In particular white's move 4 puzzled me. I don't play FRC, but is this allowed? None of the involved (BigLion, DanaSah, WinBoard_F) complains, so I suppose it is. But why would anyone do it?
Yes it's very logical. It's just a short castle. :D

2 questions here:
•How can you play this in Winboard_F(coming from the latest alpha.tst)? The King is already in g1 so i can't move him on g1 :D and if i move him on the right Rook it doesn't do the short castle....
•How can i copy the game to Winboard_F? When i copy(copy as game) the below it says Illegal move 4.O-O.
How does your WInboard_F accepts it?
[Event "Computer Chess Game"]
[Site "Athlon XP 1GHz"]
[Date "2008.01.29"]
[Round "-"]
[White "BigLion 2.23w"]
[Black "DanaSah v.3.59 FRC"]
[Result "0-1"]
[TimeControl "40/60"]
[Variant "fischerandom"]
[FEN "bbnqnrkr/pppppppp/8/8/8/8/PPPPPPPP/BBNQNRKR w HFhf - 0 1"]
[SetUp "1"]

1. e4 {-0.01/8 1} h5 {+0.08/9 1} 2. Nf3 {+0.21/7 1} Rh6 {-0.16/9 1} 3.
Re1 {+1.13/7 1} h4 {-0.23/10 1} 4. O-O {+1.23/7 1} h3 {-0.31/10 1} 5.
g4 {+1.23/6 1} Nb6 {-0.10/10 1} 6. Ne2 {+1.20/6 1} c5 {-0.14/9 1} 7.
Nc3 {+1.14/6 1} e5 {+0.72/10 1} 8. Kh1 {+1.12/6 1} Rg6 {+0.90/9 1} 9.
Ng1 {+1.06/6 0} Qh4 {+1.32/9 1} 10. f3 {+0.79/6 1} Nf6 {+1.47/9 1} 11.
a4 {+0.89/6 0} d6 {+1.40/7 1} 12. Ba2 {+0.99/6 1} Rd8 {+0.98/8 1} 13.
Qe2 {+1.14/6 1} Re8 {+1.21/9 1} 14. Qf2 {+1.11/6 1} Rh6 {+0.50/9 1} 15.
Nxh3 {+1.39/6 1} Qxh3 {+0.53/11 1} 16. g5 {+1.40/6 1} Rg6 {+0.10/10 1} 17.
gxf6 {+1.06/6 0} Rxf6 {+0.24/10 1} 18. a5 {+0.99/7 1} Nd7 {+0.18/11 1} 19.
Nd5 {+0.98/6 1} Rh6 {+0.20/11 1} 20. Ne3 {+0.93/5 1} Bc7 {+0.57/8 1} 21.
Rg1 {+0.89/6 1} Nf8 {-0.14/9 1} 22. Nc4 {+0.75/6 1} Ng6 {+0.88/8 1} 23.
d3 {+0.85/6 1} Qe6 {+1.11/8 1} 24. Bb3 {+0.86/6 1} Qd7 {+0.71/9 1} 25.
Qg2 {+0.87/6 1} Qd8 {+1.02/8 1} 26. Qd2 {+0.83/6 1} Nf4 {+1.07/8 1} 27.
Ba4 {+0.67/6 1} Ree6 {+1.10/9 1} 28. Bb5 {+0.54/6 1} Rh3 {+1.38/9 1} 29.
Ref1 {+0.54/6 1} Reh6 {+1.51/9 1} 30. Rf2 {+0.47/6 1} d5 {+1.49/9 1} 31.
exd5 {+0.42/6 1} Qxd5 {+1.50/8 1} 32. Rgf1 {+0.38/6 1} b6 {+1.40/8 1} 33.
Ne3 {+0.37/6 1} Qe6 {+1.51/8 1} 34. Bc4 {+0.44/6 1} Qg6 {+2.54/7 1} 35.
axb6 {-0.13/6 1} axb6 {+4.26/6 1} 36. c3 {-1.13/5 1} Qh5 {+4.65/7 1} 37.
Kg1 {-2.68/5 1} Rg3+ {+16.87/9 1} 38. Kh1 {-3.53/6 1} Rxf3 {+19.97/10 1}
39. Bd5 {-7.49/6 1} Bxd5 {+327.56/8 0} 40. Rxf3 {-14.56/6 0}
Bxf3+ {+327.58/6} 41. Rxf3 {-19.46/7 1} Qxf3+ {+327.60/6 0} 42.
Qg2 {-27.96/8 1} Nxg2 {+327.62/5 0} 43. b4 {-40.28/7 1} Nxe3+ {+327.64/2 0}
44. Kg1 Qg2#
{Xboard adjudication: Checkmate} 0-1
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: H.G.Muller: FRC Winboard_F castle.

Post by pedrox »

To play in Winboard_F a game FRC select Additional options and put
"/variant fischerandom" without quotes.

The castling is perfectly legal, as has been said is a short castling, to do so in Winboard_F must carry the king on the rook and the pieces will be placed on its site. You can also enter a castling typing OO or OOO.

Winboard_F is still at an alpha version. I am not sure if he is prepared at all, what you have here is an archive pgn, so it would be logical to go to "File" and "Load game"

I reconigze my program playing Black, h5 - Rh6 :-), but be careful with this start he is capable of winning a GM.

http://www.eiretaberna.com/danamario/danamario.htm
http://www.eiretaberna.com/mariodana/mariodana.htm

The second game is not well in the viewer, possibly due to an error by Fritz, you can retrieve the file pgn and view it with fritz, shredder or arena.

I have found a bug in the castle in DanaSah, if the king is already in the square end of castling when it does, as in this case are white, if it is in check, he had done, I have already corrected it . In a few days it is possible to make public the program, I am testing that everything goes well.
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: H.G.Muller: FRC Winboard_F castle.

Post by George Tsavdaris »

pedrox wrote:To play in Winboard_F a game FRC select Additional options and put
"/variant fischerandom" without quotes.
Additional options? Where is that?
Do you mean to put this in Winboard.ini in the engine's parameters?
The castling is perfectly legal, as has been said is a short castling, to do so in Winboard_F must carry the king on the rook and the pieces will be placed on its site.
Yes i was doing this yesterday but it didn't work....
Now it works! Well i must have been doing something bad, it was late so this is normal. :D

Winboard_F is still at an alpha version. I am not sure if he is prepared at all, what you have here is an archive pgn, so it would be logical to go to "File" and "Load game"
Yes but wouldn't be more easy and logical to work by selecting "Paste as game"?

I reconigze my program playing Black, h5 - Rh6 :-), but be careful with this start he is capable of winning a GM.

http://www.eiretaberna.com/danamario/danamario.htm
http://www.eiretaberna.com/mariodana/mariodana.htm
I'm aware of the match and i don't see that this exact position was used to beat the GM. It was another position....
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
hgm
Posts: 28451
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: H.G.Muller: FRC Winboard_F castle.

Post by hgm »

I deleted the message quickly after posting it, when I realized it was not as strange as I first thought. (I made an observation error watching the game, and thought it was using the other Rook for castling, so that actually none of the pieces moved.)

The current http://home.hccnet.nl/h.g.muller/alpha.tst should play FRC (unless I forgot to upload the last version), although there still might be some problems on some engines (it sends 'go' twice in succession if you use the option 'firstPlaysBlack'). I still should go about this somewhat more systematically, and check what exactly goes on between WB and engine in all possible game modes (machine white, machine black, two machines, two machines + firstPlaysBlack, ics white, ics black).

Paste game from clipboard should work; I used it yesterday on exactly this game, with WB in viewer mode. If it doesn't, it must be because I simply forgot to upload that same version. (But I think pasting games should have worked even in earlier versions.)

OTOH, I see that you deleted the board position that WB saves if you start from a setup position. It might be that it is not setup to read the initial position from a FEN field. I will check the PGN read routine, to see what it does.
User avatar
hgm
Posts: 28451
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: H.G.Muller: FRC Winboard_F castle.

Post by hgm »

OK, I see what is the problem. The move parser does not take the castling rights from the current board position, but from the initial position (because they are assumed to be more general, so that you get the message 'illegal move' in stead of 'invalid move'). But in the FRC case the initial position that was set up was not at all the same position as the FEN in the PGN, and had castling rights for Rooks in different places. When I tested saving and pasting the PGN before, it was using a default FRC opening setup in stead of a random one, so after clicking 'new' I would get the same opening setup as the FEN from an earlier game, and could paste it without problems.

I will fix it tonight, by having the parser use the current castling rights.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: H.G.Muller: FRC Winboard_F castle.

Post by pedrox »

I downloaded the latest version alpha, this version solves the problem for me that the engine start playing after sending the command "setboard".

It seems that in this version you forgot to send after the command "new" the command "setboard".

Pedro
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: H.G.Muller: FRC Winboard_F castle.

Post by pedrox »

In the previous message I said that after a new game between human and computer, the computer receiving the new command but not the command setboard therefore program believes that the position of the pieces is the normal variant.

I have tried now to play against engine vs engine, in this case the first engine does not receive the command setboard if it receives the second (two times?).

Code: Select all

recognized 'fischerandom' (-1) as variant fischerandom
WinBoard 4.3.13 + danasah359frc
Reset(1, 0) from gameMode 0
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
GameEnds(0, (null), 2) clock stopped
GameEnds(0, (null), 2) after test
StartChildProcess (dir="") danasah359frc
641 >first : xboard
protover 2
672 <first : DanaSah v.3.59 FRC, web: http://danasah.tk 
672 <first : 19/01/2008, Pedro Castro, Spain
672 <first : 
672 <first : DanaSah only supports the winboard interface.
672 <first : Type command quit to exit
672 <first : 
672 <first : Ini file danasah.ini found.
672 <first : ownbook off
672 <first : Table hash size 64 Mb.
672 <first : Eval cache size 8 Mb.
672 <first : Bitbases path: d:\egbb\
672 <first : Bitbases men: 5
672 <first : Bitbases cache size: 32
672 <first : gui winboard
672 <first : Kibitz off
672 <first : danasah> feature done=0
672 <first : EgbbProbe 3.1 by Daniel Shawul
688 <first : Cache Size = 32 Mb (4140 entries)
1438 <first : Loading egbbs....
1438 <first : feature setboard=1 draw=0 sigint=0 sigterm=0 myname="DanaSah v.3.59 FRC" variants="normal,fischerandom" colors=0 ics=1
1438 >first : accepted setboard
1438 >first : accepted draw
1438 >first : accepted sigint
1438 >first : accepted sigterm
1438 >first : accepted myname
1438 >first : accepted variants
1438 >first : accepted colors
1438 >first : accepted ics
1438 <first : feature done=1
1438 >first : accepted done
1454 >first : new
random
1454 >first : variant fischerandom
1454 >first : ics -
1454 >first : level 0 5 0
1454 >first : post
1454 >first : hard
1454 >first : easy
1500 <first : variante = normal
1500 <first : variante = fischerandom
4875 >first : force
StartChildProcess (dir="") aice.exe
5391 >second: xboard
protover 2
5391 <second: feature done=0
5391 >second: accepted done
5391 <second: Welcome to AICE 0.99.2 
5391 <second: Author: Anastasios Milikas / Christos Boussios
5391 <second: Hash size 64.0 Mb (2796204 entries)
5391 <second: Pawn hash size 2.0 Mb (23832 entries)
5391 <second: Opening book aice.bk loaded (14624 positions).
5407 <second: 
5407 <second: feature ping=0 setboard=1 sigint=0 sigterm=0 colors=0 name=1 draw=1 time=1 reuse=1 analyze=1 ics=1 variants="normal,fischerandom" myname="AICE 0.99.2 " done=1
5407 >second: accepted ping
5407 >second: accepted setboard
5407 >second: accepted sigint
5407 >second: accepted sigterm
5407 >second: accepted colors
5407 >second: accepted name
5407 >second: accepted draw
5407 >second: accepted time
5407 >second: accepted reuse
5407 >second: accepted analyze
5407 >second: accepted ics
5407 >second: accepted variants
5407 >second: accepted myname
5407 >second: accepted done
5422 >second: new
random
5422 >second: variant fischerandom
5422 >second: ics -
5422 >second: level 0 5 0
5422 >second: post
5422 >second: hard
5422 >second: easy
5422 >second: force
write FEN 50-move: 0 0 0
e0. p=-4
5422 >second: setboard bbrnkrnq/pppppppp/8/8/8/8/PPPPPPPP/BBRNKRNQ w FCfc - 0 1
5438 >first : computer
5438 >second: computer
5438 >second: name DanaSah v.3.59 FRC
5438 >first : time 30000
5438 >first : otim 30000
5438 >first : go
5438 <second: error (unknown command): random
5438 <second: error (unknown command): variant fischerandom
5438 <second: error (unknown command): computer
5454 <first : 2 0 0 79 b1c3  g8f6 
5454 <first : 3 59 0 290 b1c3  g8f6  e2e4 
5454 <first : 4 0 0 829 b1c3  g8f6  e2e4  b8c6 
5454 <first : 5 51 0 3855 b1c3  g8f6  g1f3  b8c6  d2d4 
5454 <first : 6 4 1 6879 b1c3  g8f6  e2e4  b8c6  d2d4  d7d5 
5485 <first : 7 44 4 24772 b1c3  g8f6  d2d4  d7d5  g1f3  b8c6  c1f4 
5532 <first : 8 28 9 47280 b1c3  g8f6  e2e4  b8c6  d2d4  d7d6  g1f3  e7e5 
5688 <first : 9 14 25 129675 g1f3  g8f6  d2d3  d7d5  c1f4  b8c6  b1c3  c8f5  h2h3 
5860 <first : 9 36 42 221013 e2e4  b8c6  d2d4  d7d5  e4d5  d8d5  g1f3  g8f6  b1c3  d5h5 
6188 <first : 10 30 75 429116 e2e4  d7d5  e4d5  g8f6  b1c3  f6d5  g1f3  b8c6  c3d5  d8d5  d2d4 
7407 <first : 11 28 196 1105066 e2e4  e7e6  b1c3  b8c6  d2d4  f8b4  c1f4  g8f6  d4d5  b4c3  b2c3  e6e5 
9469 <first : 12 28 403 2295821 e2e4  e7e6  b1c3  d7d5  e4d5  e6d5  d2d4  g8f6  g1f3  b8c6  c1f4  f6e4  f3e5  e4c3  e5c6  c3d1  c6d8  d1b2  f4c7 
12954 <first : move e2e4 
move to parse: e2e4
Legality test? e2e4
Legality test: d1c3
Legality test: d1e3
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: e2e3
Legality test: e2e4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
FRC castling, 5 2 4 5 2 4
Legality test? e2e4
Legality test: d1c3
Legality test: d1e3
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: e2e3
Legality test: e2e4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
FRC castling, 5 2 4 5 2 4
(5,0) (2,0) (4,0) (5,7) (2,7) (4,7) castling rights
CoordsToAlgebraic, piece=0
Legality test? e2e4
Legality test: d1c3
Legality test: d1e3
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: e2e3
Legality test: e2e4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
FRC castling, 5 2 4 5 2 4
move: e2e4
, parse: e4 (
)
repeat test fmm=1 bmm=0 ep=-4, reps=6
1 ep=-3
0 ep=-4
12985 >second: time 30000
12985 >second: otim 29246
12985 >second: force
write FEN 50-move: 0 1 0
e0. p=-4
e1. p=-3
12985 >second: setboard bbrnkrnq/pppppppp/8/8/8/8/PPPPPPPP/BBRNKRNQ w FCfc - 0 1
12985 >second: e2e4
12985 >second: go
12985 >second: go
13188 <second: 1 -9 0 3 1...Nc6
13188 <second: 1 -8 0 8 1...Ne6
13188 <second: 1 36 0 13 1...Nf6
13188 <second: 1 44 0 24 1...b5
13188 <second: 1 75 0 29 1...c5
13188 <second: 1 76 0 55 1...c6
13188 <second: 2 0 0 122 1...c6 2.b3
13204 <second: 2 3 0 338 1...b6 2.c3
13204 <second: 3 85 0 494 1...b6 2.c3 c5
13204 <second: 4 14 1 1501 1...b6 2.c4 Nf6 3.Nc3
13204 <second: 4 36 1 2841 1...b5 2.c3 c5 3.Nf3
13204 <second: 5 33 1 6335 1...b5 2.c4 Nf6 3.e5 Ng4
13204 <second: 5 55 3 11132 1...b6 2.b3 Be4 3.c4 f5
13204 <second: 6 14 4 20942 1...b6 2.c4 c5 3.b3 Nf6 4.Nc3
13204 <second: 6 31 6 29079 1...b5 2.c4 bc4 3.Rc4 Nf6 4.b3 c5
13204 <second: 7 19 15 66120 1...b5 2.c4 f5 3.ef5 bc4 4.Ne3 c5
13204 <second: 7 55 17 77347 1...b6 2.c4 c5 3.b3 Nc6 4.Nc3 O-O-O
13266 <second: 8 30 28 125759 1...b6 2.c4 Nf6 3.Nc3 O-O 4.O-O-O c5 5.b3
13844 <second: 9 64 85 391618 1...b6 2.c4 c5 3.b3 Nf6 4.Bf6 gf6 5.Ne3 O-O
14219 <second: 10 14 123 578934 1...b6 2.c4 c5 3.b3 Nf6 4.Bf6 ef6 5.Nf3 O-O 6.O-O
15125 <second: 10 23 214 1018919 1...b5 2.c4 bc4 3.Rc4 Bb7 4.Ne2 Ba6 5.Rc1 c6 6.b3 Nf6
18094 <second: 11 2 510 2507483 1...b5 2.c4 bc4 3.Rc4 c5 4.b3 f5 5.ef5 Bd5 6.Rc1 Nf6 7.Ne3
19297 <second: 11 36 631 3116026 1...b6 2.c4 c5 3.b3 Nf6 4.Bf6 gf6 5.Nf3 O-O 6.O-O Nc6
20094 <second: move b7b6
move to parse: b7b6
Legality test? b7b6
Legality test: a7a6
Legality test: a7a5
Legality test: b7b6
Legality test: b7b5
Legality test: c7c6
Legality test: c7c5
Legality test: d7d6
Legality test: d7d5
Legality test: e7e6
Legality test: e7e5
Legality test: f7f6
Legality test: f7f5
Legality test: g7g6
Legality test: g7g5
Legality test: h7h6
Legality test: h7h5
Legality test: d8c6
Legality test: d8e6
Legality test: g8f6
Legality test: g8h6
Legality test? b7b6
Legality test: a7a6
Legality test: a7a5
Legality test: b7b6
Legality test: b7b5
Legality test: c7c6
Legality test: c7c5
Legality test: d7d6
Legality test: d7d5
Legality test: e7e6
Legality test: e7e5
Legality test: f7f6
Legality test: f7f5
Legality test: g7g6
Legality test: g7g5
Legality test: h7h6
Legality test: h7h5
Legality test: d8c6
Legality test: d8e6
Legality test: g8f6
Legality test: g8h6
(5,0) (2,0) (4,0) (5,7) (2,7) (4,7) castling rights
CoordsToAlgebraic, piece=17
Legality test? b7b6
Legality test: a7a6
Legality test: a7a5
Legality test: b7b6
Legality test: b7b5
Legality test: c7c6
Legality test: c7c5
Legality test: d7d6
Legality test: d7d5
Legality test: e7e6
Legality test: e7e5
Legality test: f7f6
Legality test: f7f5
Legality test: g7g6
Legality test: g7g5
Legality test: h7h6
Legality test: h7h5
Legality test: d8c6
Legality test: d8e6
Legality test: g8f6
Legality test: g8h6
FRC castling, 5 2 4 5 2 4
move: b7b6
, parse: b6 (
)
repeat test fmm=2 bmm=0 ep=-4, reps=6
2 ep=-3
1 ep=-3
0 ep=-4
20125 >first : time 29246
20125 >first : otim 29285
20125 >first : b7b6
20235 <first : 2 37 0 95 g1f3  b8c6 
20235 <second: 1 -175 0 4 2.Ne3
20250 <second: 1 -58 0 9 2.Nc3
20250 <second: 1 -8 0 34 2.c4 (c5)
20250 <second: 1 -3 0 61 2.c3
20250 <second: 2 -85 0 127 2.c3 c5
20250 <second: 3 -47 0 329 2.c3 c5 3.Nf3
20250 <second: 3 -14 0 763 2.c4 Nf6 3.Nc3 (c5 4.b3)
20250 <second: 4 -63 0 1266 2.c4 Nf6 3.e5 Ne4
20250 <second: 4 -55 1 2514 2.b3 Be4 3.c4 f5
20250 <second: 5 -51 1 3620 2.b3 Be4 3.c4 Bb1 4.Rb1
20250 <second: 5 -14 1 5077 2.c4 c5 3.b3 Nf6 4.Nc3
20250 <second: 6 -41 1 6741 2.c4 c5 3.b3 Nf6 4.Bf6 gf6
20250 <second: 7 -36 4 22829 2.c4 Nf6 3.e5 Ng4 4.d4 O-O 5.b3
20250 <first : 2 47 0 143 b1c3  b8c6 
20266 <first : 3 96 0 443 g1f3  b8c6  b1c3 
20266 <first : 3 102 0 614 b1c3  b8c6  d2d4 
20266 <first : 4 41 0 1165 g1f3  e7e6  d2d4  b8c6 
20266 <first : 4 47 0 1367 b1c3  b8c6  d2d4  g8f6 
20282 <first : 5 72 1 7759 g1f3  g8f6  b1c3  d7d5  d2d3 
20282 <first : 5 83 1 10440 b1c3  c8a6  g1f3  a6f1  h1f1  b8c6 
20282 <first : 6 45 3 19264 g1f3  g8f6  b1c3  b8c6  d2d4  d7d5 
20282 <first : 6 51 3 22018 b1c3  e7e6  g1f3  b8c6  d2d4  g8f6 
20282 <first : 7 69 7 49786 g1f3  g8f6  b1c3  c8b7  d2d3  d7d5  e4e5 
20282 <first : 7 71 9 59063 b1c3  b8c6  d2d4  e7e5  g1f3  e5d4  f3d4  g8f6 
20282 <second: 8 -64 17 65319 2.c4 c5 3.b3 Nf6 4.Bf6 gf6 5.Ne3 O-O (6.Nf3)
20282 <first : 7 76 12 75265 d2d4  g8f6  b1c3  d7d5  e4d5  f6d5  c3d5  d8d5  g1f3 
20297 <first : 8 75 15 98154 g1f3  e7e6  b1c3  b8c6  f1c4  g8f6  O-O d7d5 
20391 <first : 9 82 26 156013 g1f3  e7e6  b1c3  b8c6  d2d4  g8f6  c1f4  f8d6  f3e5  c6e5  d4e5 
20485 <second: 9 -20 39 154435 2.c4 c5 3.b3 Nf6 4.Bf6 gf6 5.Ne3 O-O 6.O-O-O
20688 <second: 10 -36 59 255136 2.c4 c5 3.b3 Nf6 4.Bf6 gf6 5.Nf3 O-O 6.O-O Nc6
21000 <first : 10 68 86 496963 g1f3  e7e6  f1e2  g8f6  b1c3  b8c6  O-O f8b4  e4e5  f6g4 
21469 <first : 11 78 134 785538 g1f3  e7e6  b1c3  f8b4  f1d3  b8c6  O-O g8f6  e4e5  f6g4  d3e4 
22641 <second: 11 -14 254 1249481 2.c4 c5 3.b3 Nf6 4.Bf6 ef6 5.Nf3 O-O 6.O-O Ne6 7.Ne3
24250 <first : 12 70 411 2473662 g1f3  c8b7  b1c3  e7e6  f1e2  f8b4  d2d3  g8f6  O-O b8c6  a2a3  b4c5 
25016 <second: 12 -29 492 2309624 2.c4 c5 3.b3 Nf6 4.Nc3 O-O 5.Nf3 Nc6 6.O-O Bb7 7.Bc2 Bf4
26375 <second: move c2c4
Ignoring move out of turn by second, gameMode 5, forwardMost 2
26610 <first : 12 73 648 3919869 d2d4  c8b7  b1c3  g8f6  e4e5  f6d5  c3d5  b7d5  c2c4  d5e4  d1e2  e4f5  g1f3 
27485 <first : move d2d4 
move to parse: d2d4
Legality test? d2d4
Legality test: d1c3
Legality test: d1e3
Legality test: e1e2
Legality test: g1e2
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
Legality test: e4e5
FRC castling, 5 2 4 5 2 4
Legality test? d2d4
Legality test: d1c3
Legality test: d1e3
Legality test: e1e2
Legality test: g1e2
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
Legality test: e4e5
FRC castling, 5 2 4 5 2 4
(5,0) (2,0) (4,0) (5,7) (2,7) (4,7) castling rights
CoordsToAlgebraic, piece=0
Legality test? d2d4
Legality test: d1c3
Legality test: d1e3
Legality test: e1e2
Legality test: g1e2
Legality test: g1f3
Legality test: g1h3
Legality test: a2a3
Legality test: a2a4
Legality test: b2b3
Legality test: b2b4
Legality test: c2c3
Legality test: c2c4
Legality test: d2d3
Legality test: d2d4
Legality test: f2f3
Legality test: f2f4
Legality test: g2g3
Legality test: g2g4
Legality test: h2h3
Legality test: h2h4
Legality test: e4e5
FRC castling, 5 2 4 5 2 4
move: d2d4
, parse: d4 (
)
repeat test fmm=3 bmm=0 ep=-4, reps=6
3 ep=-3
2 ep=-3
1 ep=-3
0 ep=-4
27516 >second: time 29285
27516 >second: otim 28507
27516 >second: d2d4
27610 <second: illegal move d2d4
GameEnds(35, False illegal-move claim, 4)
GameEnds(35, False illegal-move claim, 4) clock stopped
GameEnds(35, False illegal-move claim, 4) after test
27610 >first : result 1-0 {False illegal-move claim}
27610 >second: result 1-0 {False illegal-move claim}
27610 >first : force
27610 >second: force
User avatar
hgm
Posts: 28451
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: H.G.Muller: FRC Winboard_F castle.

Post by hgm »

Apparently I did not upload the latest version. (Probably because I was not yet happy with it: it send two go commands to the first engine when the option /firstPlaysBlack was used.)

I will fix it this evening. Problem is always with the first engine: the WinBoard_x version I started from already did send 'setboard' to the second engine, and was aware of the consequences (namely that this brought the engine in force mode, and a 'go' would be needed after the move). But the first engine did not receive the 'setboard', and when I add it, it reverts to force mode, and the game might not start (while in other variants the engine is set to play black by 'new').

It is already clear to me that I have to add a 'setboard' each time the first engine receives a 'new'. The problem is that I have to figure out when exactly I should also send it a 'go'. It depends on the mode, and in two-machines mode on if the first engine is white or black.
User avatar
hgm
Posts: 28451
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: H.G.Muller: FRC Winboard_F castle.

Post by hgm »

OK, I have fixed it. Turned out there was still a spurious setboard+go in a wrong place, that I must have put there myself, and overlooked, as it was only active when a Human played. (And it sent the 'go' before the move...)

It seems to work now, I tested Machine white, Machine black and Two machines mode. Didn't test any ICS functions yet, but I don't expect any troubles there.

I also fixed the castling-rights O-O bug, and now I can paste in the above game without any problem, even when the setup after 'new' is completely different.

I posted the fixed version as alpha.tst on my website.
GothicChessInventor

Re: H.G.Muller: FRC Winboard_F castle.

Post by GothicChessInventor »

With this affect the Gothic Chess version of Winboard also?