Skip to main content
1 vote

How to handle cycles in minimax algorithm

Indeed, if your game allows cycles, your tree is more of a graph. A simple approach to avoiding infinite loops is to have a hard cap on how far down the tree you explore. If you reach it before the ...
Valentin Calomme's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible