giewev / Classy

MIT License
1 stars 0 forks source link

Add test cases for obvious move selection #2

Closed giewev closed 7 years ago

giewev commented 7 years ago

Before I start working on improving the move selection I should make sure it's in a good state and make it easier to detect regressions.

Set up some positions to with a forced mate and make sure the engine can find it. Also set up positions where the enemy threatens forced mate, but there is a way out.

Some simple puzzles to win material would probably also be good, but it is technically possible for the engine to choose to sacrifice material for positional changes. Maybe only implement those once we have custom evaluator objects. Then we can use one that only takes into account the material score.

giewev commented 7 years ago

Done