Implement auto-gating in holdingless S-Chess
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 15 Dec 2019 22:52:43 +0000 (23:52 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 15 Dec 2019 22:52:43 +0000 (23:52 +0100)
commit1ca6e13d14c1ef508f9e3918c33a46ec4b8bac62
tree9cbf41e048df4f47b9b8aec727e8ae0d5c218656
parentf9704573586c2aa2f57643c76f5b7f2780643c44
Implement auto-gating in holdingless S-Chess

When there are no holdings in (parent) variant seirawan, the first and
last rank are supposed to act as file-specific holdings, and pieces
on it will automatically be gated if the virgin piece standing before
them is moved away by the user. (Engines must still specify a gating
through the promotion suffix.) The old location of the gated piece
on the holdings rank will then be blacked out (and the unused squares
on the holdings raks should also be black).
backend.c