11-22-2020, 05:31 PM
After having tried many variations and encountered many strange behaviors, these two changes makes it work:
(1) Set "stack" to true in (move <from> <to>)
(2) Change the code in (play) from "("MoveWholeStack")" to "(forEach Piece ("MoveWholeStack"))"
(1) seems contrary to what I thought I just learned: No matter where a "stack"-parameter is set to true, it will be true globally.
So I think I have found a way to make this work, but I really want to know if it was supposed to work in the first .lud also. There seems to be something off here.
(1) Set "stack" to true in (move <from> <to>)
(2) Change the code in (play) from "("MoveWholeStack")" to "(forEach Piece ("MoveWholeStack"))"
(1) seems contrary to what I thought I just learned: No matter where a "stack"-parameter is set to true, it will be true globally.
So I think I have found a way to make this work, but I really want to know if it was supposed to work in the first .lud also. There seems to be something off here.