This repository has been archived by the owner. It is now read-only.
a JavaScript card deck and blackjack engine
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Console Blackjack is a JavaScript card deck engine created by Dan McKeown

When you create a blackjack object [based on a matchup object] it pits two players against each other by drawing cards from an array used to keep track of which cards have been drawn, which mirrors a constant array of all the playing cards. From there functionality is provided in methods to use the deck to play a game of blackjack between two players. You can see how this works when you view the project index page in a browser and see a list of JavaScript console commands that help demonstrate the app.

Console Blackjack is released under the MIT license.

Console Blackjack is what's behind the 21 game at

The deck can also be used to provide cards for other types of card games.