Chess engine recursive problems

Hi @Grusat,

It is unlikely that the minimax algorithm with alpha beta pruning (which latter I can’t find in your code snippets) and a common used depth value, running into max recursion error. Maybe if you provide your full code, we could analysing the issues.

Here you can read more details about and an example implementation:

Cheers
— mnse