08-11-2020, 02:14 PM
Hi,
The problem is really about the (last To) which can be equal to -1 (when a swap move is applied, no 'to' site in the previous move).
So in attachment I made a slight modification to the description I sent to you to work.
BUT, yes that's also a problem in Ludii. Because the consequences of the moves you describe in the playing rules were also added to the Swap move generating by the meta rule, consequently the variable (var) was set to -1 when we make a swap move. So I fixed that in our dev version and that bug will be fixed in the next release.
Consequently, in your current version you can use the version I sent to you in attachment here to play it. But the file I sent to you previously will be the description in the next release (which is correct).
Regards,
Eric
The problem is really about the (last To) which can be equal to -1 (when a swap move is applied, no 'to' site in the previous move).
So in attachment I made a slight modification to the description I sent to you to work.
BUT, yes that's also a problem in Ludii. Because the consequences of the moves you describe in the playing rules were also added to the Swap move generating by the meta rule, consequently the variable (var) was set to -1 when we make a swap move. So I fixed that in our dev version and that bug will be fixed in the next release.
Consequently, in your current version you can use the version I sent to you in attachment here to play it. But the file I sent to you previously will be the description in the next release (which is correct).
Regards,
Eric