08-22-2022, 06:30 AM
(08-21-2022, 12:31 PM)dale walton Wrote: Hi Michael - did you use State anywhere in the TTT game - the compiler doesn't like you to define anything that doesn't get used, and usually gives a warning to tip you off about it, but not for everything... Dale (because support seems to be slow or on holiday - but they will probably give you a better answer.)
Not in the TTT game, no. Only modification I made is what you can see in the OP. So that might be why the player broke.
I do use state in the game where I originally encountered the issue, though. I'll try to make some examples to show what I've been struggling with.
(swap Pieces) does not work like I expected. I suspect one of the problems is that it doesn't preserve state. Or maybe this state problem on applies to shared pieces. I haven't explored it deeply. I only tried three or four different ways of implementing a proprietary (swap Pieces) using other ludemes. I got the same issue with all of them: I wasn't able to set the state of the pieces. Instead of ripping my hair out, I'll try to make some examples, as I said..