10-14-2020, 04:10 PM
(This post was last modified: 10-14-2020, 04:12 PM by dale walton.)
Documentation doesn't explain the uses of various constants/variables/parameters such as Value for example.
Can Value be used as a free variables for script use that persist an entire turn? If so why (based on a game script I am writing) would it affect the direction of movement - is ludii using the same register to hold the direction value or the pointer to an item in a selected set of sites?
If not, how does one set and read a variable (private state variable) that persists longer than a single move - ie a full turn (or more)
Can Value be used as a free variables for script use that persist an entire turn? If so why (based on a game script I am writing) would it affect the direction of movement - is ludii using the same register to hold the direction value or the pointer to an item in a selected set of sites?
If not, how does one set and read a variable (private state variable) that persists longer than a single move - ie a full turn (or more)