From 7b022c2db89d4b4454a4f74ca6e66d59f782e6f9 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 10 Sep 2014 19:52:12 +0200 Subject: [PATCH] Reserve piece command in protocol specs --- engine-intf.html | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/engine-intf.html b/engine-intf.html index c04678b..4f4af46 100644 --- a/engine-intf.html +++ b/engine-intf.html @@ -1514,6 +1514,7 @@ terminated by feature done=1. (The effect of sending an option feature for an option with the same name as was defined before, without first receiving a -reset option command, is undefined.) +
exclude (boolean, default 0)
@@ -1545,6 +1546,7 @@ in this case, you must set done=1 before xboard will enter normal operation.
+

setup FEN
setup (PIECETOCHAR) FEN
@@ -1566,8 +1568,8 @@ and any setup commands received from the latter will always be ignored. When no initial position is known, such as for 'catch-all' variants like fairy, or whenever the board width is overruled to a non-standard value, the FEN will be used as default initial position even when legality testing is on. - -
Optionally the meaning of the piece ID letters in the FEN can be defined +

+Optionally the meaning of the piece ID letters in the FEN can be defined between parentheses; this will be interpreted as if it was the value of a -pieceToCharTable command-line option, mapping letters to GUI piece types. Also optionally behind that, the setup command can specify board width W, @@ -1585,8 +1587,19 @@ could be used by an engine for Los-Alamos Chess in response to 'variant losalamo and would automatically switch the GUI to this variant as soon as the user selected it from the GUI menu. The PIECETOCHAR element would ensure a Bishop would not be accepted as promotion choice. +

+
piece ID PIECEDESC
+
This command is already reserved for future protocol extension. +The engine can send it in response to a variant command in order to specify that the piece +indicated by its pieceToChar letter ID moves in a non-standard way in this variant. +(This to enable the GUI to reliably perform made detection, and produce good SAN.) +The format of PIECEDESC is subject to future specification. + +
+

+
Illegal move: MOVE
Illegal move (REASON): MOVE
If your engine receives a MOVE command that is recognizably a move -- 1.7.0.4