01-24-2024, 03:28 AM
(02-07-2023, 09:06 AM)dale walton Wrote: This game needs a positional AI as the branching factor is high and nearly redundant moves are common, and the long term goals drive the choices.To solve the challenge of selecting pieces for the next move, you can introduce a temporary "selection state" after each successful jump.
The logic was a bit tricky because the moving piece is not part of the group that defines its move, but it has not yet been selected (removed fnaf) and cannot be easily referenced in the (count Steps (step )) definition.