Ludii Forum
Why does (set Value Mover ...) affect the direction a piece moves - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Ludii Player Problems (https://ludii.games/forums/forumdisplay.php?fid=6)
+--- Thread: Why does (set Value Mover ...) affect the direction a piece moves (/showthread.php?tid=209)



Why does (set Value Mover ...) affect the direction a piece moves - dale walton - 10-14-2020

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)


RE: Why does (set Value Mover ...) affect the direction a piece moves - Eric Piette - 10-15-2020

Hi,

You posted 2 times that thread. I answered in the other thread.

Regards,
Eric