chess icon indicating copy to clipboard operation
chess copied to clipboard

add MoveGen::has_legal_moves and use it in Board.status

Open AlexanderHarrison opened this issue 4 years ago • 1 comments

Resolves #63.

Added associated method MoveGen::has_legal_moves(&Board) -> bool, which short-circuits if a legal move is found. Also sped up Board.status using this method.

AlexanderHarrison avatar Jul 25 '21 02:07 AlexanderHarrison

I want this.

SunnyWar avatar Jul 10 '23 10:07 SunnyWar