I'm currently developing a blackjack program that I posted on code review SE about a month ago and, after making a few changes based on the users suggestions and my friends' suggestions, I want to create an AI that essentially uses the mathematics of blackjack to make decisions. Almost like an AI that can card count, but different because card counting isn't very effective with blackjack.

I've figured out some of the math myself based on what I've read across multiple sites and books dedicated to the game, but I'm just not sure how I can get started with it. At this point, all suggestions will be helpful.

With that in mind, does anyone have any ideas or suggestions for how I might go about making a base plan for implementing it? It doesn't have to be language specific, but if it will help with an answer, the language I plan to use to do this would be Python.


Blackjack is usually modelled using Monte Carlo (MC) Methods. There is a lot of literature on MC methods which is interesting on its own right but here is a paper describing how MC is applied to Blackjack. There is also a good description on page 110 of the Introduction to Reinforcement Learning.

Good luck!

  • 1
    $\begingroup$ No prob. Also, you should accept that answer if it helps. I am not sure why but most questions on the AI exchange doesn't really have accepted answers and it's unnerving. $\endgroup$ – Jaden Travnik Sep 20 '17 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.