Check out Janggi (Korean Chess), our featured variant for December, 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

GAME code table-driven move generator[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sun, Jul 26, 2020 09:56 PM UTC in reply to H. G. Muller from 08:44 PM:

Is there a way to edit a preset without Game Courier first attempting to execute the code?

Yes, include "&submit=Edit" in the query string.

Can the actual parameters of a subroutine call not be expressions like 'var player'?

They cannot. Only some commands evaluate expressions, and gosub does not. Use #player instead.