Implement move exclusion
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 11 Apr 2018 17:37:00 +0000 (19:37 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 12 Apr 2018 07:14:24 +0000 (09:14 +0200)
commit6d5526c41d7279be959b90fa6bb7109ca2ac7676
tree59ede281189d9f7dfa29d30a8cd3c7e5749d6848
parentd46e4efa85d9fdeba5b5fe0d66f4ceb49feb5bef
Implement move exclusion

A 64KB moveMap[] is added to keep track of which moves are excluded in the
root. It is indexed directly by the lowest 16 bits of the move code,
(the from- and to-square), and can be almost entirely used, as the board
measures 121 squares, an the 'shadow' board (another 121 squares) can be used
both as from- and to-square as well. So that in theory 242*242 moves can
be encoded.
dropper.c