Skip to content

rdvdijk/ruby-poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A ruby library for playing Texas Hold'em poker.

The goal is to create an online poker application using this library.

Note: Developed using Ruby 1.9, code breaks in 1.8. The card shorthand
notation (7.♣) is not possible in 1.8.

Still to-do:
- Gameplay:
  - Bet
  - Raise
  - Call
  - Fold
  - Pot
  - All-in
  - Split-pots ..
- Add generic compare to RankedHand
- Dealer/blinds when players are sitting out

Ideas:
- Add poker nicknames for hole cards (Anna Kournikova for Ace-King, etc.)

Some useful wikipedia articles:
- http://en.wikipedia.org/wiki/Glossary_of_poker_terms
- http://en.wikipedia.org/wiki/List_of_playing_card_nicknames
- http://en.wikipedia.org/wiki/Betting_in_poker

Some rules:
- http://en.wikipedia.org/wiki/Blind_(poker)
  "The small blind is placed by the player to the left of the dealer button
   and the big blind is then posted by the player to the left of the person
   sitting in the small blind.
   The one exception to this rule is when there are only 2 players (a
   "heads-up" game). In this case the player on the button is the small blind,
   and the other player is the big blind."

About

A ruby library for playing poker

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages