Your current minimax implementation assumes that the dealer plays optimally, which prevents it from exploiting suboptimal behavior by the dealer. By switching to an algorithm like expectimax, you can achieve significantly better results in the long term. However, keep in mind that alpha-beta pruning does not work with expectimax, so you’ll need to devise your own optimization techniques.
This is only a suggestion of course.
Your current minimax implementation assumes that the dealer plays optimally, which prevents it from exploiting suboptimal behavior by the dealer. By switching to an algorithm like expectimax, you can achieve significantly better results in the long term. However, keep in mind that alpha-beta pruning does not work with expectimax, so you’ll need to devise your own optimization techniques.
This is only a suggestion of course.