ruby-poker
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A ruby library for playing poker
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."

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。