Test Legality of Shogi promotions
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 11 Oct 2010 07:13:59 +0000 (09:13 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Mon, 11 Oct 2010 07:13:59 +0000 (09:13 +0200)
commitb0878c4bb13c5ba03f6defe11f903fa07247b718
tree25ee7233110a8ca226b2927bc136857faeb894fb
parent2255d9155bc3e24104ce7a30edeff78fd6b4d53e
Test Legality of Shogi promotions

The old code would allow any drop, except Pawns on first and last rank,
which is actually too restrictive for Shogi (which does allow back-rank
Pawn drops). Only thing still missing is Pawn drop with mate.
lasker-2.2.3/src/movecheck.c