09-05-2021, 11:39 AM
(09-05-2021, 08:44 AM)happyRabbit Wrote: The syntax works at the end of the "do" ludeme, BUT it doesn't work for Trigo, because the checking for liberties to remove surrounded pieces and illegal move checking must only be done after the second stone.Then it sounds like this syntax is more appropriate:
Code:
(then
(if
(= 1 (% (+ 1 (count Moves)) 2))
(moveAgain)
[your liberties check]
)
)