Atomic Opening Book

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Atomic Opening Book

Postby Aiorla » 26 Sep 2009, 09:59

Hi Winboard Forum,

Here goes my first topic and my first question.
I play atomic chess in Winboard and I want to make a book with a pgn. I can't use polyglot because it says illegal move at line x, column x and it doesn't make the book. What can I do? Is there a way to make polyglot create the book or I have to use other program?

Thanks in advance,

Aitor
Aiorla
 
Posts: 1
Joined: 02 Jul 2009, 20:13

Re: Atomic Opening Book

Postby H.G.Muller » 26 Sep 2009, 11:02

I am afraid Polyglot does not support Atomic Chess. Its idea of a variant is Chess960! :D

I have no idea if there are bookmaking programs that do support Atomic.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Atomic Opening Book

Postby Michel » 26 Sep 2009, 11:18

I can't use polyglot because it says illegal move


I am afraid PG does not know the rules of atomic. So it cannot make a book.

Unless I overlook something I think a PG book could support atomic.
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: Atomic Opening Book

Postby H.G.Muller » 26 Sep 2009, 11:37

A PG book could support atomic, as Atomic positions are indistingishable from Normal positions. (At least if you ignore legality of the position, which Polyglot format does. You could not have Nalimov tablebases for Atomic, though, as Nalimov format does not allow the Kings to stand next to each other, while in Atomic this is not only perfectly legal, but often the only way to salvage a draw.)

But for this reason it would be quite confusing to have such a book, as it could also be probed in Normal games (or Suicide, Losers, 3Check), and suggest moves that might be disastrously wrong.

I guess I should change the book-probing code to XOR in a key that depends on the current variant, to prevent one variant from using a GUI book written for another variant that shares positions, but has different rules. For Chess960 this variant key could be 0, as identical Normal and Chess960 positions are indeed fully equivalent. (In other words, Chess960 is not really a variant, it is an extension.)

I generalized PG format such that it supports books for all variants supported by WinBoard. For the extra piece types and board squares it uses rotated versions of the standard keys (in steps of 8 bits), so that there is no problem on boards of upto 128 squares with upto 24 piece types. And I indeed do have a Polyglot book for Xiangqi. (Did not make it with Polyglot, though! :D ) This did require a different coding scheme for the moves, though. I reqisitioned the extra code space occupied by the promotion piece for this.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 29 guests