Douglas B. Holmes

Home About Contact
21 icon

Computer Program

Blackjack.cpp (pdf) routine created by Douglas Holmes 11-2018 to 12-2018 ¬©holmes2018.  This game is based

on the instructions for blackjack on the “Bicycle cards” web site.  One player, plays the computer dealer, and

can split up to four times.  Chips are offered at the beginning of the game and can be added during play.  Hit,

stay, split, double down, and print-hand are commands the player can choose. Six new ordered decks of cards

are opened and shuffled four times.  The player is then asked to cut them before they are placed in a shoe (stack). 

This program was created using the Eclipse compiler on a Mac.  I created this program as a final project for a

MIT Open Courseware class #6-096.

Screen example