Prevent pawn-drop mates in Shogi
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 15 May 2017 13:15:08 +0000 (15:15 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 15 May 2017 13:15:08 +0000 (15:15 +0200)
commitd8482b77dca489c145a5a208cf1d4877907b7903
treecc4e8b8aa4434bb88cec36b5b49856a686020741
parent9d19918e96045806e0ce8269409f56cc78135201
Prevent pawn-drop mates in Shogi

In case of a mate we now check if the previous move was a Pawn drop,
and correct the score to a win if we detect one. In Crazyhouse we
test for check, and correct to draw due to stalemate without one.
dropper.c