06-30-2020, 09:18 PM
The definition of StepForwardToEmpty in section A.6.1 of the Ludii Language Reference doesn't match the implementation in rules/play/moves/StepForwardToEmpty.def. It's the Language Reference that is out of date.
06-30-2020, 09:18 PM
The definition of StepForwardToEmpty in section A.6.1 of the Ludii Language Reference doesn't match the implementation in rules/play/moves/StepForwardToEmpty.def. It's the Language Reference that is out of date.
06-30-2020, 10:44 PM
Hi Jay,
The definition and description in the LLR appear to match for me. Might you be confusing "StepForwardToEmpty" with "StepForwardsToEmpty"? Regards, Cameron
07-02-2020, 09:53 PM
Section A.6.1 of the version of the LLR at https://ludii.games/downloads/LudiiLangu...erence.pdf (for v0.9.3, from 2020-05-20) reads:
(define "StepForwardToEmpty" (step Forward (to if:(in (to) (empty))) ) ) Loading/compiling this results in the error: "Couldn't find ludeme class for token 'in'. Couldn't find ludeme class for token 'empty'.". Perhaps this worked in an older version of Ludii, before the super-ludeme "is" was introduced? Meanwhile, def/rules/play/moves/StepForwardToEmpty.def reads: (define "StepForwardToEmpty" (step Forward (to if:(is In (to) (sites Empty))) ) ) This latter version compiles without any error. (Also, I imagine this is functionally equivalent to StepForwardsToEmpty, which is defined in the same directory.)
04-27-2024, 07:07 PM
It sounds like there's a discrepancy between the definition of StepForwardToEmpty as described in section A.6.1 of the Ludii Language Reference and its actual implementation in rules/play/moves/StepForwardToEmpty.def. Thanks for pointing this out! It's important to ensure that documentation accurately reflects the functionality of the software it describes. If the Language Reference is indeed outdated, it might be helpful to reach out to the Ludii development team to update the documentation accordingly. Also, if you're looking for a reliable tool to assist with such tasks, you might find https://pdfflex.com/pdf-to-png useful for converting PDF files to PNG format effortlessly.
|
|