Ludii Forum
Setting state in (start) - 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: Setting state in (start) (/showthread.php?tid=451)



Setting state in (start) - Michael - 02-22-2021

Is there no way of setting the state of cells in the start rules?


RE: Setting state in (start) - Eric Piette - 02-22-2021

Hi,

You can in placing components but not the state alone. The reason is because the local state is depending on the pieces on it. When a piece is moved the local state follows the piece.

Regards,
Eric


RE: Setting state in (start) - Michael - 02-22-2021

Thanks! I can use that.