Skip to content

Fix checkmate bug (#7) - #12

Open
salmiyounes wants to merge 1 commit into
fogleman:masterfrom
salmiyounes:fix-checkmate-bug
Open

Fix checkmate bug (#7)#12
salmiyounes wants to merge 1 commit into
fogleman:masterfrom
salmiyounes:fix-checkmate-bug

Conversation

@salmiyounes

Copy link
Copy Markdown

Replaced gen_moves() with gen_legal_moves() in root_search().
This should prevent the engine from making moves when checkmated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant