Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the search is quit before skill.pick_best is called, skill.best_move might be MOVE_NONE. Ensure skill.best is always assigned anyhow. Also retire the tricky best_move() and let the underlying semantic to be clear and explicit. No functional change.
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters