| Author |
Message |
Roger J Cooper (Rogercooper)
New member Username: Rogercooper
Post Number: 43 Registered: 7-2000
| | Posted on Friday, March 06, 2020 - 2:27 am: | |
What is the correct syntax for having a draw with insufficient material in Chess? I tried (draw-condition (Black) (total-piece-count 3) (and pieces-remaining 1 Knight) (and pieces-remaining 0 Pawn)) but I just a get a syntax error. |
Sean Duggan (Dream)
New member Username: Dream
Post Number: 128 Registered: 9-2000
| | Posted on Friday, March 06, 2020 - 3:43 am: | |
Try phrasing it as the following: (draw-condition (White Black) (and (total-piece-count 3) (pieces-remaining 1 Knight) (pieces-remaining 0 Pawn))) Basically, the goal needs to be one condition, and an and expression has and followed by everything that is anded together. |
Andreas Speiger (Andique)
New member Username: Andique
Post Number: 24 Registered: 11-2007
| | Posted on Thursday, April 02, 2020 - 2:07 pm: | |
There is a long thread one side before. Look for "Chess(variants): Draw by insufficient material". |