May-24-2023, 08:16 PM
(This post was last modified: May-24-2023, 08:16 PM by deanhystad.)
If you let the minimax do an exhaustive search (no depth limit, test all possible moves) it will win or draw every time. You cannot get stronger than that.
I don't see any problem with the posted code (other than the indent). This does nothing:
I don't see any problem with the posted code (other than the indent). This does nothing:
board.depth = min(board.depth, depth)Maybe you are using it wrong.