02-08-2021, 05:34 PM
Thanks, Eric, this helped indeed! I guess the least restrictive setting is maxLimit:(count Edges), which effectively disables the maximum.
That's good to know, and really useful. Just for clarification - I might have misinterpreted the meaning of the parentheses and square brackets. I would have read
as "exactly one of <moves.player> or <roleType>", and
as "at most one of length:<int> or maxLimit:<int>", thus allowing also to omit both length and maxLimit.
(02-08-2021, 07:31 AM)Eric Piette Wrote: However to always look the current grammar of a specific version of Ludii you can print it (in a terminal and in the status tab) with the menu button Game --> Generate Grammar.
That's good to know, and really useful. Just for clarification - I might have misinterpreted the meaning of the parentheses and square brackets. I would have read
Code:
(<moves.player> | <roleType>)
as "exactly one of <moves.player> or <roleType>", and
Code:
[length:<int> | maxLimit:<int>]
as "at most one of length:<int> or maxLimit:<int>", thus allowing also to omit both length and maxLimit.