11-30-2020, 03:25 PM
Hi Eric, thanks for your response. I will tell you exactly what I'm trying to achieve with this.
I want a turn to consist of one of two options:
option 1:
a) adding a stone to an empty square.
b) if and only if this generates a crosscut, swap that stone with an adjacent enemy stone in the same crosscut.
c) Continue swapping until that stone is no longer in a cross cut.
option 2:
a) select a stone already in a crosscut, and swap as above.
b) then add a stone to an empty square.
I want a turn to consist of one of two options:
option 1:
a) adding a stone to an empty square.
b) if and only if this generates a crosscut, swap that stone with an adjacent enemy stone in the same crosscut.
c) Continue swapping until that stone is no longer in a cross cut.
option 2:
a) select a stone already in a crosscut, and swap as above.
b) then add a stone to an empty square.