Thank you for the feedback! I really should've explained the strats in the game. You're totally right, the AI plays as optimally as I could make it in time, so it will get 17-21 or bust.
The trick to beat the AI is to cheat with the "special" moves (the AI cannot cheat). For example, if you cheat by splitting once and the AI busts, you do 3 times damage.