11-25-2020, 03:00 PM
I am trying to flip over a stack of pieces. I am not actually sure I can even express this. A very simplified example of what I tried to do is:
I don't think (site level:X) is supported. I think "move Swap" has richer support but I may need to swap more than two pieces. So that is why I am trying to make selecting the Site the decision move and then use "forEach Value" to iterate through the levels from 0 to half-way up the stack. (I will also need to "promote" each piece to its other side but that can wait.)
Code:
(move Select (from (site))
(then
(swap Pieces (site level:0) (site level:1) )
)
)