-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
35 lines (29 loc) · 1.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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."