09-18-2020, 10:47 AM
I can't get the following to work:
Could it be because I'm working on a boarderless game? I don't know if the sitesSimpleType Left, Right, Top and Bottom work on boarderless games.. Same for rows.
The intended effect is that one chooses a piece that is not already the westmost piece in its row, and then move it to the playable site just west of the westmost piece in that row. What am I misunderstanding?
Code:
(move
(from
(difference
(sites Occupied by:Mover)
(intersection
(sites Row (row of:(from)))
(sites Left)
)
)
)
(to
(sites Around
(intersection
(sites Row (row of:(from)))
(sites Left)
)
W
)
)
)
The intended effect is that one chooses a piece that is not already the westmost piece in its row, and then move it to the playable site just west of the westmost piece in that row. What am I misunderstanding?