Created
May 7, 2014 18:44
-
-
Save aks0/b9db051e3c2435a9b1af to your computer and use it in GitHub Desktop.
need to fix the mismanagement of money of the human player
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/spr14/ml-511/project/H2HPoker/bin/ | |
$ java -cp . lib/Dealer | |
Please decide the small blind amount: | |
10 | |
Please enter your starting money (Computer will match you) | |
1000 | |
******************************** | |
**Round 0 (Pre-Flop)** | |
Table Cards => [] | |
Pot Money => 30 | |
computer(BB) => Money in Hand: 980, Money in pot: 20, Total Money: 1000 | |
player(SB) => Money in hand: 980, Money in pot: 10, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Fold(1), Check(2), Call(3), All-In(4), Raise to (40-1000) | |
Please enter your bet: 50 | |
******************************** | |
**Round 0 (Pre-Flop)** | |
Table Cards => [] | |
Pot Money => 70 | |
computer(BB) => Money in Hand: 980, Money in pot: 20, Total Money: 1000 | |
player(SB) => Money in hand: 980, Money in pot: 50, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Computer play: Call | |
******************************** | |
**Round 0 (Flop)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades] | |
Pot Money => 100 | |
computer(BB) => Money in Hand: 950, Money in pot: 50, Total Money: 1000 | |
player(SB) => Money in hand: 950, Money in pot: 50, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Computer play: Raise 71 to (71) | |
******************************** | |
**Round 0 (Flop)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades] | |
Pot Money => 171 | |
computer(BB) => Money in Hand: 879, Money in pot: 121, Total Money: 1000 | |
player(SB) => Money in hand: 879, Money in pot: 50, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Fold(1), Check(2), Call(3), All-In(4), Raise to (142-950) | |
Please enter your bet: 3 | |
******************************** | |
**Round 0 (Turn)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds] | |
Pot Money => 242 | |
computer(BB) => Money in Hand: 879, Money in pot: 121, Total Money: 1000 | |
player(SB) => Money in hand: 879, Money in pot: 121, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Computer play: Check | |
******************************** | |
**Round 0 (Turn)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds] | |
Pot Money => 242 | |
computer(BB) => Money in Hand: 879, Money in pot: 121, Total Money: 1000 | |
player(SB) => Money in hand: 879, Money in pot: 121, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Fold(1), Check(2), Call(3), All-In(4), Raise to (40-879) | |
Please enter your bet: 2 | |
******************************** | |
**Round 0 (River)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds, 8 of Spades] | |
Pot Money => 242 | |
computer(BB) => Money in Hand: 879, Money in pot: 121, Total Money: 1000 | |
player(SB) => Money in hand: 879, Money in pot: 121, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Computer play: Raise 839 to (839) | |
******************************** | |
**Round 0 (River)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds, 8 of Spades] | |
Pot Money => 1081 | |
computer(BB) => Money in Hand: 40, Money in pot: 960, Total Money: 1000 | |
player(SB) => Money in hand: 40, Money in pot: 121, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Fold(1), Check(2), Call(3), All-In(4) | |
Please enter your bet: 4 | |
******************************** | |
**Round 0 (River)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds, 8 of Spades] | |
Pot Money => 1960 | |
computer(BB) => Money in Hand: 40, Money in pot: 960, Total Money: 1000 | |
player(SB) => Money in hand: 40, Money in pot: 1000, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
Computer play: Call | |
******************************** | |
**Round 0 (Show)** | |
Table Cards => [6 of Hearts, Jack of Spades, 9 of Spades, Jack of Diamonds, 8 of Spades] | |
Pot Money => 2000 | |
computer(BB) => Money in Hand: 0, Money in pot: 1000, Total Money: 1000 | |
player(SB) => Money in hand: 0, Money in pot: 1000, Total Money: 1000 | |
Computer's Hand: [Queen of Spades, 3 of Spades] | |
Human's Hand: [4 of Spades, 8 of Diamonds] | |
******************************** | |
player's Score: TWO_PAIRS | |
computer's Score: FLUSH | |
Round 0 winner: computer | |
******************************** | |
**Round 0 (Final Result)** | |
Table Cards => [] | |
Pot Money => 0 | |
computer(BB) => Money in Hand: 2000, Money in pot: 0, Total Money: 2000 | |
player(SB) => Money in hand: 2000, Money in pot: 0, Total Money: 0 | |
Computer's Hand: [] | |
Human's Hand: [] | |
******************************** | |
Press enter to continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed. typo in code.