Skip to content

Blackjack (formerly Black Jack and Vingt-Un) is a casino banking game.  The most widely played casino banking game in the world, it uses decks of 52 cards and descends from a global family of casino banking games known as Twenty-One.

Notifications You must be signed in to change notification settings

Yourloff/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack

Simple command line interface Blackjack game in Ruby.

Installation

without installation

Usage

ruby main.rb

The Plan

  1. Deck
    • 1-10 + Jack + Queen + King + Ace
    • shuffle
    • multiple decks
    • value
    • suit
  2. Dealer&Player
    • 2 cards to start
    • drawn from deck
    • discards?
    • hit
    • hand value
  3. Game
    • create decks
    • create player
    • create dealer player
    • loop
      • deal cards
      • player actions
      • check for wins

About

Blackjack (formerly Black Jack and Vingt-Un) is a casino banking game.  The most widely played casino banking game in the world, it uses decks of 52 cards and descends from a global family of casino banking games known as Twenty-One.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages