ianfab / Musketeer-Stockfish

Stockfish playing Musketeer chess
http://musketeerchess.net/games/musketeer/rules/rules-short.php
GNU General Public License v3.0
7 stars 4 forks source link

Comment on move format #2

Closed fsmosca closed 6 years ago

fsmosca commented 6 years ago

I have read the move format at https://github.com/ianfab/Musketeer-Stockfish/wiki/Interface.

What I did in WB (Winboard) is just follow the seirawan variant of gating a piece. If a player wants to gate a Hawk at b-file, he may press the Hawk, and then move the knight from b1 say to c3, and I will send the move to WB like below. b1c3h WB will update the board by moving the knight to c3 and gates the Hawk to b1.

In musketeer, piece selection and gating is part of move history, but WB does not support this, so what I did is build an option for the user to select the piece and gating file, before the game would start. Piece selection:

File Selection:

For uci you can create such options like, option name Hawk type check default false option name WHawkFile type combo default any var any var a-file var b-file ... var h-file The value "any" would make musketeer play like seirawan i.e a player can gate a piece at any file.