Skip to content

Em01/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

blackjack

  • Player vs Dealer
  • 52 cards which are clubs, diamonds, spades, heart
  • Cards range between 2 - 10 and then Jack, Queen, King and Ace
  • You cannot go over 21
  • The dealer has the same rules and then you compare who is greater

####To run the game

  • Go into irb ( irb -Ilib)
  • require "game"
  • game = Game.new
  • game.hit
  • game.stand
  • game.status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages