Using isGameOver() with an already generated list of legal moves #30
Closed
LowLevel73
started this conversation in
Ideas
Replies: 1 comment
-
Hi, yeah that’s true but in those cases of negamax it’s always more performant if you do the check yourself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have implemented a typical negamax() algorithm and after calling my method that generates the list of legal moves, I want to check if the game is over.
The isGameOver() method also calls movegen::legalmoves().
For performance reasons, do you think it would be a good idea to implement a way to check for gameover by passing an already generated list of legal moves?
Beta Was this translation helpful? Give feedback.
All reactions