06-14-2022, 11:10 AM
Thanks a lot for your answer, Eric !
I'm really relieved, because for days I tried zillions (sic!; ) of different syntax combinations that might work and searched & studied the LanguageReference from top to bottom and back (which can be very frustrating..)
But since I believe that the potential of ludii is really great, I hang in there.
Many things can be done in different ways (like with stack size and count etc.), but here there is no trick to get around this basic problem, it seems.
btw: I copied all the existing .lud files into one big textfile (~7MB), which is very good for searching for code-snippets in all the 1128 games simultaneously.
And your 'CountInStack'-answer already helped me a lot.
I wouldn' have found this in weeks. don't understand yet, where the (to) comes from.
I'm really relieved, because for days I tried zillions (sic!; ) of different syntax combinations that might work and searched & studied the LanguageReference from top to bottom and back (which can be very frustrating..)
But since I believe that the potential of ludii is really great, I hang in there.
Many things can be done in different ways (like with stack size and count etc.), but here there is no trick to get around this basic problem, it seems.
btw: I copied all the existing .lud files into one big textfile (~7MB), which is very good for searching for code-snippets in all the 1128 games simultaneously.
And your 'CountInStack'-answer already helped me a lot.
I wouldn' have found this in weeks. don't understand yet, where the (to) comes from.