Change book Zobrist key for Chu promoted pieces
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 3 Mar 2015 21:44:32 +0000 (22:44 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 7 May 2015 18:53:33 +0000 (20:53 +0200)
commitb3045790c3486c4ddcaeb6525874f300085a7deb
treed22dac7d90ebc77e3e44c9f4a62d89db2c33000b
parent143a5473aa9fae9804a781575f4652dcf89f0bbb
Change book Zobrist key for Chu promoted pieces

Promoted pieces for Chu (i.e. above Lion, with the exception of King)
now get keys derived from their base type, by XORing in a square-dependent
'promoted' key. This makes it possible to extend the unpromoted series
with new pieces without altering the keys for the promoted pieces.
So that the current book code works upto 48 unpromoted piece types,
rather than 48 piece types total.
book.c