Blackjack Player

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The Demonstration uses your cards and the dealer's card to produce a histogram of all possible outcomes, their probabilities, and a color-coded suggestion as to what to do next.

Contributed by: Jacob Fattakhov (October 2014)
Open content licensed under CC BY-NC-SA



This Demonstration is a very simple representation of a blackjack game, in that it ignores many key scenarios for the benefit of newer players. The program will never recommend a split, double down, or surrender, opting instead for the very simple "hit" or "stand." Furthermore, the program's true goal is to guide the player to a 21, which might not necessarily be in the best interest of winning the hand. This is evident when the player holds a high card and an ace; the hand's soft high is strong and should be held. However, the program will suggest taking the soft low and hitting, for a chance at the perfect 21.

The images of traffic lights and man were edited to fit the needs of this Demonstration.


1. S. Colminas. "Man Carrying A Big Bag Of Money." Clker Free Clipart. (Sep 19, 2014)

2. ClipArtBest. "Red Light Free Vector." (Jul 23, 2014) (no longer accessible).

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.