Adjudicate pawn-drop mate as loss in Shogi
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 26 Jan 2013 17:08:37 +0000 (18:08 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 26 Jan 2013 17:08:37 +0000 (18:08 +0100)
commit94f3427e1b21ef9242770d4889a67fd024b9c897
treef9e19ba0fb0a24b9c15109ede41f2c5be60eccf9
parent599a719d6820131a00de4ecbdc2513989d6e6720
Adjudicate pawn-drop mate as loss in Shogi

Mating with a Pawn drop is illegal in Shogi, but rather than burdoning
the legality-testing by this complex rule, we simply invert the result
for such a mate. After all, Shogi customs are such that everything illegal
leads to an immediate loss.
backend.c