Em01 / blackjack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Ruby 100.0%