bright 0.4a now public

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

Moderator: Ras

User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: bright 0.4a now public

Post by Matthias Gemuh »

Matthias Gemuh wrote:
Allard Siemelink wrote:
You got me there! :(
From the command line:

Code: Select all

% Kc1
ambiguous move: O-O-O _and_ Kb1c1
invalid move: Kc1
I guess it is a parsing bug I need to fix.
It's been a while, do the FRC rules say that all castling moves must be specified as either O-O or O-O-O? (then it would be a simple fix)
If not, how could Bright differentiate between the castling move and the plain king move?

My engine wanted to send a castle to Bright, but mistakenly format b1a1 as b1c1 :evil:
So I too still have something to fix :wink:
This bug lets BigLion play legal but weak unintended moves.
Castle is always "King captures own Rook", here b1a1 .

Don't go the O-O-O way because of other problems there !!

Best,
Matthias.

SAN notation is always O-O and O-O-O :wink:
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: bright 0.4a now public

Post by Allard Siemelink »

Allard Siemelink wrote:
Matthias Gemuh wrote:Hi Allard,
can you check whether BrightFRC 0.4a rejects b1c1 in this position ?
b1a1 is of course stronger.

[d]rk1b2rq/pppn3p/3pp3/4p1p1/4P1n1/2PPBNN1/PP3PPP/RK4RQ w GAga -
You got me there! :(
From the command line:

Code: Select all

% Kc1
ambiguous move: O-O-O _and_ Kb1c1
invalid move: Kc1
I have fixed this FRC bug, a patch (bright-0.4a2) is available for download from
http://members.ziggo.nl/allard.siemelink/bright/

Thank you, Matthias, for reporting it.
Jouni
Posts: 3655
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: bright 0.4a now public

Post by Jouni »

When running all my test suites I got BIG surprise. bright 0.4a was better than Rybka 3 in 4 different suites! These were 3 tactical and 1 endgame suite.

Jouni
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: bright 0.4a now public

Post by Allard Siemelink »

Jouni wrote:When running all my test suites I got BIG surprise. bright 0.4a was better than Rybka 3 in 4 different suites! These were 3 tactical and 1 endgame suite.

Jouni
That's nice to hear. :)
Which suites were these btw?
If you ran more suites and bright 0.4a scored badly on them, i'd be interested to know too, as these could be indicative of area's to improve on.
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: bright 0.4a now public

Post by Matthias Gemuh »

Allard Siemelink wrote:
I have fixed this FRC bug, a patch (bright-0.4a2) is available for download from
http://members.ziggo.nl/allard.siemelink/bright/

Hi Allard,
the new FRC version seems more buggy.

You need to
1) use O-O and O-O-O format for pgn output.
2) for all other purposes, use "King captures own castling Rook", for example e1a1.

Best,
Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: bright 0.4a now public

Post by Allard Siemelink »

Matthias Gemuh wrote:
Allard Siemelink wrote:
I have fixed this FRC bug, a patch (bright-0.4a2) is available for download from
http://members.ziggo.nl/allard.siemelink/bright/

Hi Allard,
the new FRC version seems more buggy.

You need to
1) use O-O and O-O-O format for pgn output.
2) for all other purposes, use "King captures own castling Rook", for example e1a1.

Best,
Matthias.
The way it is implemented is that O-notation is used for output and that
both O-notation and rook capturing as wll as Kc1/Kg1 are accepted as
input. The latter had the bug, 0.4a2 now requires that the king should
move at least two squares in order to indicate a castling move.
I prefer to keep Kc1/Ke1 in, as it would allow the frc version to play normal chess as well.

Could you or someone supply a specific position that reveals a bug?
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: bright 0.4a now public

Post by Allard Siemelink »

Allard Siemelink wrote:Could you or someone supply a specific position that reveals a bug?
Never mind, Ray already e-mailed details.
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: bright 0.4a now public

Post by Matthias Gemuh »

Allard Siemelink wrote: 0.4a2 now requires that the king should
move at least two squares in order to indicate a castling move.
Usually FRC bugs hide in the cases where king does not move during castling or moves only one square to castle.

To support both normal chess and FRC, I think an
"if (FRC) ... else ..." when formating moves for GUI is unavoidable.

Best,
Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 9:30 pm
Location: Netherlands

Re: bright 0.4a now public

Post by Allard Siemelink »

Matthias Gemuh wrote:
Allard Siemelink wrote: 0.4a2 now requires that the king should
move at least two squares in order to indicate a castling move.
Usually FRC bugs hide in the cases where king does not move during castling or moves only one square to castle.

To support both normal chess and FRC, I think an
"if (FRC) ... else ..." when formating moves for GUI is unavoidable.

Best,
Matthias.
correct, that should have read: "0.4a2 now requires that the king should
move at least two squares in order to indicate a castling move with the Kc1/Kg1 method".
I'll have another look at these type of positions.

I agree that for output, O-O should be avoided when talking UCI.
Jouni
Posts: 3655
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: bright 0.4a now public

Post by Jouni »

I ran bright in some public (slightly modified may be) and private suites.
In all positional suites Rybka was as expected much better. BTW Allard have You written bright from zero? That must be some 1000 hours of work!

Jouni