Beef up pseudo-legality checking
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 6 Feb 2017 17:57:05 +0000 (18:57 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 6 Feb 2017 17:57:05 +0000 (18:57 +0100)
commitaad8650ae84e7bf92ff33197c5b1fe44971ea5f0
tree7fe35fcc7c272f9cba183dc341ce100d79019819
parent901e20ac0eaa481baab3d14c097aa2da12db39ea
Beef up pseudo-legality checking

The routine PseudoLegal, used test killer moves for legality, now checks
if the move is a non-capture, if a dropped piece has the right color,
and accepts Pawn moves (including double-pushes). Castlings are still
rejected.
dropper.c