Skip to content

Extension of Rob Olson's ruby-poker gem with custom tests and extensions

License

Notifications You must be signed in to change notification settings

badascii/ruby-poker-plus-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension of Rob Olson’s ruby-poker gem

Additions:

- command-line interface

- spec-style tests w/ updated Rake task

- test-driven development of extensions

- card.rb
    1) new class method that generates a random card

- poker_hand.rb
    1) new class method that generates a hand of random cards
    2) new instance method that mocks the user if they miss a royal
       flush by 1 card

- poker_game.rb
    1) new class that handles individual poker games
    2) will track username and bet amounts (NYI)

About

Extension of Rob Olson's ruby-poker gem with custom tests and extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages