Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

How to Enforce Rules in Game Courier. A tutorial on programming a rule-enforcing preset in the GAME Code language.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Mar 13, 2023 07:38 PM UTC in reply to Daniel Zacharias from 05:53 PM:

The difficulty I have with that is making the notation work with it, since if I record the extra move, it isn't considered legal in some situations.

To avoid the need to write code for screening out extended moves, Game Courier uses the maxmove system variable and the ban and allow commands. The maxmove variable indicates how many moves may be made on a single turn. You can use the ban command to ban many things globally then use the allow command to make exceptions for certain types of moves at certain places in the extended move.