schrum2 / MM-NEATv2

MM-NEAT version 2.0 is no longer supported. Please get MM-NEAT 3+ from https://github.com/schrum2/MM-NEAT
Other
11 stars 5 forks source link

Checkers end state error #380

Closed schrum2 closed 7 years ago

schrum2 commented 7 years ago

Visualizations are very useful.

I was playing Checkers, and the following state was labelled as a terminal state (I was playing against the piece differential heuristic and game over occurred).

image

Fix this error (make a JUnit test that verifies that this exact state is not terminal, and also try to test some similar potential errors)

DarwinJohnson commented 7 years ago

Changed the code in the CheckersState class pertaining to the Double Jump and Forced Jump. This appears to have fixed the EndState Error. Played through several Checkers games to ensure the code was working, and I was able to complete several matches without the game ending before an End State. I believe that this Issue can be closed.