Keep track of attacked squares near King
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 14 Jan 2017 11:48:19 +0000 (12:48 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 14 Jan 2017 11:48:19 +0000 (12:48 +0100)
commit78359960a2989cb39d7ffa176dc78f2683acd8d2
tree0fca4eacb9343657b2928e8c961443d918010248
parent14ccb9b13978fea60a7b88b9923ca4cf908fb27c
Keep track of attacked squares near King

The move generator now marks all attacked squares on an auxiliary board.
At the end it counts the number of such squares next to the enemy King,
empty squares and captures separately. It also counts the number of
unattacked empty squares next to the King.
dropper.c