09-06-2020, 08:19 AM
(09-06-2020, 07:48 AM)Eric Piette Wrote: I just replaced the line you said by the line with only (sites Around ...) and that compiles in our current version.I know it compiles. That's what I said. The file I attached does not compile as is. I'm asking why. I take it I am misunderstanding the syntax of (sites Group …). Is there anything ungrammatical in the following:
Can you try again with the latest version of Ludii? (see attachment)
(sites Around (sites Group Cell of:Cell at:(last To)) Orthogonal if:(is Empty (to)))
I want it to pick out the empty sites that are orthogonally adjacent to the group that the last placed stone belongs to, but it returns the error message I quoted the beginning of.