Ludii Forum
value - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Questions (https://ludii.games/forums/forumdisplay.php?fid=13)
+--- Forum: About the Ludii Grammar (https://ludii.games/forums/forumdisplay.php?fid=15)
+--- Thread: value (/showthread.php?tid=330)



value - slimy_asparagus - 12-12-2020

Prior to version 1.1.8 value was something you set in a piece definition and did not change.

Now it is something you can change with "(set Value at:....)".

So surely now you need to be able to set the value when placing the piece. In fact  we seem to have lost the ability to define what the initial value of a piece is.


RE: value - Eric Piette - 12-14-2020

Hi,

That's exactly like you said, the value can be set when the piece is placed. Look the ludeme (place ...), the value can be set with the parameter "value:".
That characteristic of that piece can be set like any other characteristic now.

Regards,
Eric


RE: value - slimy_asparagus - 12-14-2020

(12-14-2020, 07:20 AM)Eric Piette Wrote: Hi,

That's exactly like you said, the value can be set when the piece is placed. Look the ludeme (place ...), the value can be set with the parameter "value:".
That characteristic of that piece can be set like any other characteristic now.

Regards,
Eric
Thanks. I have found what you are referring to now.