/Blackjack

Beat the dealer in Blackjack. Optional card counter and basic strategy engine. Built in JavaScript and CSS.

Primary LanguageJavaScript

BLACKJACK

How To Play

You and the Dealer each start with $1000. Bet in increments of $25, $100, $500 per hand or go all in. The last player with money left wins. See it live here.

Technical Implementation

Blackjack is built entirely in JavaScript and CSS. No external libraries or plugins are used.

Features

All Aspects of Standard Blackjack Gameplay

Hit, stand, split and double down. 8 decks, blackjack pays 3/2, double after split is allowed, split as many times as you like, and of course...dealer always stands on 17. (None of this hit on 17 nonsense!)

Split and Double

Card Counter & Basic Strategy

If you're not sure what the right play is, ask!

Counter uses the standard high-low system. Cards 2 through 6 add to the count. Cards 10 through Ace reduce the count. A positive count is better for the player, while a negative count is better for the dealer.

Basic Strategy and Card Counter

Future Roadmap

Upcoming features include...

  1. Surrender functionality
  2. Choose your own rules
  3. Basic strategy coaching
  4. Multiple card counting methods