08-30-2020, 04:05 PM
The attached file is in progress work on Throngs. I got placement working, and started on capture, after several non functional attempts I added the following commented out lines to the file. When not commented, the board doesn't paint (although it momentarily flashes up without the start pieces, and I get TTT. Have no idea why that is related. Only new command added is (apply (remove (to))).
// (move
// Add (to if:(and (> ("MoveLimit" (to)) 1) (is Next (who at:(to)))) (apply (remove (to))))
// // (then (set Var (- ("MoveLimit" (to)) 2))
//
// #1
// )
// (move
// Add (to if:(and (> ("MoveLimit" (to)) 1) (is Next (who at:(to)))) (apply (remove (to))))
// // (then (set Var (- ("MoveLimit" (to)) 2))
//
// #1
// )