Skip to content

Jbur43/playing_cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

System requirements:

rspec
gem install rspec

A brief example of how to use this library:

require 'path/to/file/playing_cards.rb'

deck = PlayingCards::Deck.new
hand = PlayingCards::Hand.new({ deck: deck, draw_count: 2})

deck.shuffle
hand.draw
hand.fold

Run all unit tests through the below command:

rspec

About

a ruby playing card program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages