Ludii Forum
set State not Working within handSite - 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: set State not Working within handSite (/showthread.php?tid=1108)



set State not Working within handSite - loganf - 07-29-2022

I am attempting to implement a piece drawing function where pieces are drawn from the top of a stack into the player's hand. However, once the piece is in the hand I want to flip it over to reveal it's color. Neither (flip (handSite Mover)) nor (set State at:(handSite Mover) 1) are working for this purpose. Alternatively, I've attempted to hide the stack itself, and just not include a flip at all, but that seems to crash the Java implementation. I'm going to open a separate thread for that issue, because the inability to hide a stack is affecting multiple games I'm working on.


RE: set State not Working within handSite - noobby - 08-21-2022

Hi Logan,
looks interesting, but what is this game about ?
maybe if you could write the rules in the ... rules section, somebody could understand, what you want to do.
Ben


RE: set State not Working within handSite - Eric Piette - 08-22-2022

Hi,

Yes I agree with Ben, I need a clearer description of the rules to understand exactly what you try to do, because this looks like a card game in looking a deck of cards like a stack of cards. Is It?

Regards,
Eric