Page 1 of 1

Movei FRC problem

PostPosted: 19 Sep 2006, 12:54
by Volker Pittlik
Uri Blass wrote:...
It seems that winboard still not support FRC and I can play only under arena
...


Is "check legality" enabled? It works perfect here. I can paste that game, castle and then give cotrol to Glaurung. (BTW: I will slit these postings into a thread of its own soon.)

Code: Select all
volker:~> xb960
recognized 'fischerandom' (-1) as variant fischerandom
resolved -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-* at pixel size 34
  to -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1
resolved -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-* at pixel size 12
  to -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
resolved -*-helvetica-medium-r-normal--*-*-*-*-*-*-*-* at pixel size 14
  to -adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
xboard 4.2.7 + polyglot
Reset(1, 0) from gameMode 0
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
StartChildProcess (dir="/home/volker/schach/polyglot") ./polyglot glaurung.ini
569 >first : xboard
protover 2
622 <first : PolyGlot 1.4 by Fabien Letouzey
876 <first : feature done=0
876 >first : accepted done
877 <first : feature analyze=1
877 >first : accepted analyze
877 <first : feature colors=0
877 >first : accepted colors
877 <first : feature draw=1
877 >first : accepted draw
877 <first : feature ics=1
877 >first : accepted ics
877 <first : feature myname="Glaurung 1.2.1"
877 >first : accepted myname
979 <first : feature name=1
979 >first : accepted name
979 <first : feature pause=0
980 >first : accepted pause
980 <first : feature ping=1
980 >first : accepted ping
980 <first : feature playother=1
980 >first : accepted playother
980 <first : feature reuse=1
980 >first : accepted reuse
980 <first : feature san=0
980 >first : accepted san
980 <first : feature setboard=1
981 >first : accepted setboard
981 <first : feature sigint=0
981 >first : accepted sigint
981 <first : feature sigterm=0
981 >first : accepted sigterm
981 <first : feature time=1
981 >first : accepted time
981 <first : feature usermove=1
981 >first : accepted usermove
981 <first : feature variants="normal,fischerandom"
982 >first : accepted variants
982 <first : feature done=1
982 >first : accepted done
983 >first : new
random
983 >first : variant fischerandom
983 >first : ics -
983 >first : level 0 1 1
983 >first : post
984 >first : hard
984 >first : ping 1
992 >first : force
1032 >first : setboard rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
1148 <first : pong 1
recognized 'fischerandom' (-1) as variant fischerandom
Parsed game number 1, offset 0:
[Event "Computer Chess Game"]
[Site "URI-PC"]
[Date "2006.09.19"]
[Round "-"]
[White "AICE 0.99.2 "]
[Black "movei"]
[Result "0-1"]
[Variant "fischerandom"]
[TimeControl "40/300"]
LoadGame(): on entry, gameMode 6
Reset(0, 1) from gameMode 6
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
9931 >first : new
random
9931 >first : variant fischerandom
9931 >first : ics -
9931 >first : level 0 1 1
9931 >first : post
9931 >first : hard
9931 >first : ping 2
Parsed game start '[Event "Computer Chess Game"]' (41)
Parsed PGNTag: [Event "Computer Chess Game"]
Parsed PGNTag: [Site "URI-PC"]
Parsed PGNTag: [Date "2006.09.19"]
Parsed PGNTag: [Round "-"]
Parsed PGNTag: [White "AICE 0.99.2 "]
Parsed PGNTag: [Black "movei"]
Parsed PGNTag: [Result "0-1"]
Parsed PGNTag: [TimeControl "40/300"]
Parsed PGNTag: [Variant "fischerandom"]
recognized 'fischerandom' (-1) as variant fischerandom
Parsed PGNTag: [FEN "rkrbnqbn/pppppppp/8/8/8/8/PPPPPPPP/RKRBNQBN w CAca - 0 1"]
Parsed PGNTag: [SetUp "1"]
Parsed PositionDiagram: {--------------
r k r b n q b n
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R K R B N Q B N
white to play
--------------}
10240 >first : new
random
10240 >first : variant fischerandom
10240 >first : ics -
10240 >first : level 0 1 1
10240 >first : post
10240 >first : hard
10241 >first : ping 3
10241 >first : force
10241 >first : setboard rkrbnqbn/pppppppp/8/8/8/8/PPPPPPPP/RKRBNQBN w KQkq - 0 1Parsed e4 into e2e4
Parsed e5 into e7e5
Parsed Nd3 into e1d3
Parsed Ng6 into h8g6
Parsed f4 into f2f4
Parsed Qe7 into f8e7
Parsed f5 into f4f5
Parsed Nf8 into g6f8
Parsed Bf3 into d1f3
Parsed c5 into c7c5
Parsed Qe2 into f1e2
Parsed c4 into c5c4
Parsed Ndf2 into d3f2
Parsed f6 into f7f6
Parsed Rf1 into c1f1
Parsed Bf7 into g8f7
Parser hit end of file
ForwardInner(16), current 0, forward 16
PauseEvent(): pausing 0
10292 >first : usermove 10292 >first : e2e4
10292 >first : usermove 10292 >first : e7e5
10292 >first : usermove 10293 >first : e1d3
10293 >first : usermove 10293 >first : h8g6
10293 >first : usermove 10293 >first : f2f4
10293 >first : usermove 10293 >first : f8e7
10293 >first : usermove 10294 >first : f4f5
10294 >first : usermove 10294 >first : g6f8
10294 >first : usermove 10294 >first : d1f3
10294 >first : usermove 10294 >first : c7c5
10294 >first : usermove 10294 >first : f1e2
10295 >first : usermove 10295 >first : c5c4
10295 >first : usermove 10295 >first : d3f2
10295 >first : usermove 10295 >first : f7f6
10295 >first : usermove 10295 >first : c1f1
10295 >first : usermove 10295 >first : g8f7
LoadGame(): on exit, gameMode 6
10296 <first : pong 2
10296 <first : pong 3
PauseEvent(): pausing 1
21604 >first : usermove 21604 >first : O-O-O
42795 >first : name volker
42795 >first : time 6000
otim 6100
42795 >first : go
42944 <first : 2 -45 5 101 Ba5 Ng4
42946 <first : 2 -34 5 191 Bb6 Ng4
42947 <first : 2 +7 6 316 c3 dxc3 Bxa2
42949 <first : 3 +7 6 419 c3 dxc3 Bxa2
42997 <first : 4 -43 6 1171 c3 dxc3 Bxa2 Ng4
43000 <first : 4 -26 11 1607 Ba5 Ng4 Nd6 Ng3
43004 <first : 4 -15 11 2097 Bb6 Ng4 Nc7 Be3 Bxe3 Qxe3
43008 <first : 4 -6 12 2754 Nc7 Ng3 d5 d4 cxd3 Nxd3
43084 <first : 5 -6 19 3557 Nc7 Ng3 d5 d4 cxd3 Nxd3
43090 <first : 5 +0 20 4658 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43149 <first : 5 +7 26 6899 Ba5 Bh5 d5 exd5 Bxd5
43174 <first : 6 -20 28 11005 Ba5 Bh5 Bxh5 Qxh5 Nd6 Ng3
43249 <first : 6 -14 36 14138 Bb6 Bh5 Nd6 Bxf7 Nxf7 Ng4
43338 <first : 7 +0 44 25595 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43454 <first : 8 +0 56 38360 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43641 <first : 8 +6 75 64342 Ba5 Bh5 Bxh5 Qxh5 Nc7 Ng4 d5 exd5 Nxd5
44076 <first : 9 -3 118 126533 Ba5 Bh5 Bxh5 Qxh5 Nc7 Qf3 Qf7 Ng4 d5
44268 <first : 9 +0 138 157783 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
44754 <first : 10 +0 186 232763 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6GameEnds(0, (null), 2)
45922 >first : force
45922 >first : ping 4
45922 >first : quit
volker:~>



Volker

Re: Naum 2.0

PostPosted: 19 Sep 2006, 13:02
by Uri Blass
Volker Pittlik wrote:
Uri Blass wrote:...
It seems that winboard still not support FRC and I can play only under arena
...


Is "check legality" enabled? It works perfect here. I can paste that game, castle and then give cotrol to Glaurung. (BTW: I will slit these postings into a thread of its own soon.)

Code: Select all
volker:~> xb960
recognized 'fischerandom' (-1) as variant fischerandom
resolved -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-* at pixel size 34
  to -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1
resolved -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-* at pixel size 12
  to -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
resolved -*-helvetica-medium-r-normal--*-*-*-*-*-*-*-* at pixel size 14
  to -adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
xboard 4.2.7 + polyglot
Reset(1, 0) from gameMode 0
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
StartChildProcess (dir="/home/volker/schach/polyglot") ./polyglot glaurung.ini
569 >first : xboard
protover 2
622 <first : PolyGlot 1.4 by Fabien Letouzey
876 <first : feature done=0
876 >first : accepted done
877 <first : feature analyze=1
877 >first : accepted analyze
877 <first : feature colors=0
877 >first : accepted colors
877 <first : feature draw=1
877 >first : accepted draw
877 <first : feature ics=1
877 >first : accepted ics
877 <first : feature myname="Glaurung 1.2.1"
877 >first : accepted myname
979 <first : feature name=1
979 >first : accepted name
979 <first : feature pause=0
980 >first : accepted pause
980 <first : feature ping=1
980 >first : accepted ping
980 <first : feature playother=1
980 >first : accepted playother
980 <first : feature reuse=1
980 >first : accepted reuse
980 <first : feature san=0
980 >first : accepted san
980 <first : feature setboard=1
981 >first : accepted setboard
981 <first : feature sigint=0
981 >first : accepted sigint
981 <first : feature sigterm=0
981 >first : accepted sigterm
981 <first : feature time=1
981 >first : accepted time
981 <first : feature usermove=1
981 >first : accepted usermove
981 <first : feature variants="normal,fischerandom"
982 >first : accepted variants
982 <first : feature done=1
982 >first : accepted done
983 >first : new
random
983 >first : variant fischerandom
983 >first : ics -
983 >first : level 0 1 1
983 >first : post
984 >first : hard
984 >first : ping 1
992 >first : force
1032 >first : setboard rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
1148 <first : pong 1
recognized 'fischerandom' (-1) as variant fischerandom
Parsed game number 1, offset 0:
[Event "Computer Chess Game"]
[Site "URI-PC"]
[Date "2006.09.19"]
[Round "-"]
[White "AICE 0.99.2 "]
[Black "movei"]
[Result "0-1"]
[Variant "fischerandom"]
[TimeControl "40/300"]
LoadGame(): on entry, gameMode 6
Reset(0, 1) from gameMode 6
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
9931 >first : new
random
9931 >first : variant fischerandom
9931 >first : ics -
9931 >first : level 0 1 1
9931 >first : post
9931 >first : hard
9931 >first : ping 2
Parsed game start '[Event "Computer Chess Game"]' (41)
Parsed PGNTag: [Event "Computer Chess Game"]
Parsed PGNTag: [Site "URI-PC"]
Parsed PGNTag: [Date "2006.09.19"]
Parsed PGNTag: [Round "-"]
Parsed PGNTag: [White "AICE 0.99.2 "]
Parsed PGNTag: [Black "movei"]
Parsed PGNTag: [Result "0-1"]
Parsed PGNTag: [TimeControl "40/300"]
Parsed PGNTag: [Variant "fischerandom"]
recognized 'fischerandom' (-1) as variant fischerandom
Parsed PGNTag: [FEN "rkrbnqbn/pppppppp/8/8/8/8/PPPPPPPP/RKRBNQBN w CAca - 0 1"]
Parsed PGNTag: [SetUp "1"]
Parsed PositionDiagram: {--------------
r k r b n q b n
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R K R B N Q B N
white to play
--------------}
10240 >first : new
random
10240 >first : variant fischerandom
10240 >first : ics -
10240 >first : level 0 1 1
10240 >first : post
10240 >first : hard
10241 >first : ping 3
10241 >first : force
10241 >first : setboard rkrbnqbn/pppppppp/8/8/8/8/PPPPPPPP/RKRBNQBN w KQkq - 0 1Parsed e4 into e2e4
Parsed e5 into e7e5
Parsed Nd3 into e1d3
Parsed Ng6 into h8g6
Parsed f4 into f2f4
Parsed Qe7 into f8e7
Parsed f5 into f4f5
Parsed Nf8 into g6f8
Parsed Bf3 into d1f3
Parsed c5 into c7c5
Parsed Qe2 into f1e2
Parsed c4 into c5c4
Parsed Ndf2 into d3f2
Parsed f6 into f7f6
Parsed Rf1 into c1f1
Parsed Bf7 into g8f7
Parser hit end of file
ForwardInner(16), current 0, forward 16
PauseEvent(): pausing 0
10292 >first : usermove 10292 >first : e2e4
10292 >first : usermove 10292 >first : e7e5
10292 >first : usermove 10293 >first : e1d3
10293 >first : usermove 10293 >first : h8g6
10293 >first : usermove 10293 >first : f2f4
10293 >first : usermove 10293 >first : f8e7
10293 >first : usermove 10294 >first : f4f5
10294 >first : usermove 10294 >first : g6f8
10294 >first : usermove 10294 >first : d1f3
10294 >first : usermove 10294 >first : c7c5
10294 >first : usermove 10294 >first : f1e2
10295 >first : usermove 10295 >first : c5c4
10295 >first : usermove 10295 >first : d3f2
10295 >first : usermove 10295 >first : f7f6
10295 >first : usermove 10295 >first : c1f1
10295 >first : usermove 10295 >first : g8f7
LoadGame(): on exit, gameMode 6
10296 <first : pong 2
10296 <first : pong 3
PauseEvent(): pausing 1
21604 >first : usermove 21604 >first : O-O-O
42795 >first : name volker
42795 >first : time 6000
otim 6100
42795 >first : go
42944 <first : 2 -45 5 101 Ba5 Ng4
42946 <first : 2 -34 5 191 Bb6 Ng4
42947 <first : 2 +7 6 316 c3 dxc3 Bxa2
42949 <first : 3 +7 6 419 c3 dxc3 Bxa2
42997 <first : 4 -43 6 1171 c3 dxc3 Bxa2 Ng4
43000 <first : 4 -26 11 1607 Ba5 Ng4 Nd6 Ng3
43004 <first : 4 -15 11 2097 Bb6 Ng4 Nc7 Be3 Bxe3 Qxe3
43008 <first : 4 -6 12 2754 Nc7 Ng3 d5 d4 cxd3 Nxd3
43084 <first : 5 -6 19 3557 Nc7 Ng3 d5 d4 cxd3 Nxd3
43090 <first : 5 +0 20 4658 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43149 <first : 5 +7 26 6899 Ba5 Bh5 d5 exd5 Bxd5
43174 <first : 6 -20 28 11005 Ba5 Bh5 Bxh5 Qxh5 Nd6 Ng3
43249 <first : 6 -14 36 14138 Bb6 Bh5 Nd6 Bxf7 Nxf7 Ng4
43338 <first : 7 +0 44 25595 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43454 <first : 8 +0 56 38360 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
43641 <first : 8 +6 75 64342 Ba5 Bh5 Bxh5 Qxh5 Nc7 Ng4 d5 exd5 Nxd5
44076 <first : 9 -3 118 126533 Ba5 Bh5 Bxh5 Qxh5 Nc7 Qf3 Qf7 Ng4 d5
44268 <first : 9 +0 138 157783 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6
44754 <first : 10 +0 186 232763 Bb6 Ng4 Nc7 Ng3 d5 exd5 Nxd5 Bxd5 Bxd5 Bxb6 axb6GameEnds(0, (null), 2)
45922 >first : force
45922 >first : ping 4
45922 >first : quit
volker:~>



Volker


Glaurung is a UCI engine
I tried movei as winboard engine.
Maybe it works with winboard with polyglot and uci engines and I did not try it.

I still did not finish my implementation of UCI support and I prefered to test if it can play as winboard engine first.

Movei could beat aice 8.5:1.5 in blitz under arena

Uri

Re: Naum 2.0

PostPosted: 19 Sep 2006, 13:07
by Volker Pittlik
Volker Pittlik wrote:...Is "check legality" enabled?...


Uri Blass wrote:...Glaurung is a UCI engine...


To answer my question could possibly eliminate one source of confusion.

Volker

Re: Naum 2.0

PostPosted: 19 Sep 2006, 13:10
by Uri Blass
Volker Pittlik wrote:
Volker Pittlik wrote:...Is "check legality" enabled?...


Uri Blass wrote:...Glaurung is a UCI engine...


To answer my question could possibly eliminate one source of confusion.

Volker


By default test legality is enabled
I will try without test legality

trying it I find that white can castle but the board is not updated correctly and the move is not wrriten correctly

0-0 is translated to e1g1 that means knight e1 take rook g1 so the rook disappear from the board.

Here is the game
winboard did not accept castling from black
Ne8xg8 is in blue color in the move history

[Event "Computer Chess Game"]
[Site "URI-PC"]
[Date "2006.09.19"]
[Round "-"]
[White "AICE 0.99.2 "]
[Black "movei"]
[Result "*"]
[TimeControl "40/300"]
[Variant "fischerandom"]
[FEN "rqbbnkrn/pppppppp/8/8/8/8/PPPPPPPP/RQBBNKRN w GAga - 0 1"]
[SetUp "1"]

{--------------
r q b b n k r n
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R Q B B N K R N
white to play
--------------}
1. Ne1xg1 Ng6 2. d4 d5 3. c3
*



Uri

Re: Naum 2.0

PostPosted: 19 Sep 2006, 13:51
by Uri Blass
Here is another game

aice tried to play long castle and movei did not understand the move because winboard sent it e1c1

It seems that also in the first game movei got e1g1
but did not reject it because of a bug = instead of ==

Movei understood it as castling because of the following code:




[Event "Computer Chess Game"]
[Site "URI-PC"]
[Date "2006.09.19"]
[Round "-"]
[White "AICE 0.99.2 "]
[Black "movei"]
[Result "*"]
[TimeControl "40/300"]
[Variant "fischerandom"]
[FEN "qrkrbnnb/pppppppp/8/8/8/8/PPPPPPPP/QRKRBNNB w DBdb - 0 1"]
[SetUp "1"]

{--------------
q r k r b n n b
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
Q R K R B N N B
white to play
--------------}
1. d4 d5 2. g3 Nf6 3. Bg2 Ng6 4. Bc3 Ne4 5. Bxe4 dxe4 6. Re1 b5 7. a3 Qd5
8. Re1xc1
*

Code: Select all
/*maybe the move is castling in shredder fen*/
         if (from=InitialKSQf+side*A8)
         {
            if (to==InitialKRSQf+side*A8)
               return  checkshortcastling();
            if (to==InitialQRSQf+side*A8)
               return  checklongcastling();
         }