WB support for new variant (cannon chess)
Posted: 03 Feb 2015, 13:35
Hi,
I came up with the idea to replace the queen in International Chess with the cannon from Xiangqi. I played around with it on a real board to see if it works, and was pleasantly surprised - there are some interesting aspects, such as 1.d4 being a blunder! The next step for me was to try to get Fairy-Max to play this variant; so I added the following to my fmax.ini:
Now I can play Cannon Chess against Fairy-Max at the command-line, but ideally I'd like to use WinBoard as my interface. Unfortunately, although, cannon appears in the list of available variants, when I select "New Variant" I receive the error Engine did not send setup for non-standard variant. I'm not sure exactly what that means, but am guessing that WinBoard contains a hard-coded list of supported variants; because cannon isn't in that list, it requires the engine to send some sort of "setup" command?
Please could someone help me to get WinBoard working with Cannon Chess, as defined above?
Cheers,
Ralph
I came up with the idea to replace the queen in International Chess with the cannon from Xiangqi. I played around with it on a real board to see if it works, and was pleasantly surprised - there are some interesting aspects, such as 1.d4 being a blunder! The next step for me was to try to get Fairy-Max to play this variant; so I added the following to my fmax.ini:
- Code: Select all
// Chess with queen replaced by cannon from Xiangqi
Game: cannon
8x8
8 5 6 9 3 6 5 8
8 5 6 9 4 6 5 8
p:74 -16,24 -16,6 -15,5 -17,5
p:74 16,24 16,6 15,5 17,5
k:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
k:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:296 15,3 17,3 -15,3 -17,3
R:444 1,3 16,3 -1,3 -16,3
T:444 1,3 16,3 -1,3 -16,3
C:380 1,BA 16,BA -1,BA -16,BA
Now I can play Cannon Chess against Fairy-Max at the command-line, but ideally I'd like to use WinBoard as my interface. Unfortunately, although, cannon appears in the list of available variants, when I select "New Variant" I receive the error Engine did not send setup for non-standard variant. I'm not sure exactly what that means, but am guessing that WinBoard contains a hard-coded list of supported variants; because cannon isn't in that list, it requires the engine to send some sort of "setup" command?
Please could someone help me to get WinBoard working with Cannon Chess, as defined above?
Cheers,
Ralph