Skip to content

Commit 5a6a44d

Browse files
committed
More allIN
1 parent ababaaa commit 5a6a44d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎src/PokerPlayer.cs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ public static int BetRequest(JObject gameState)
3535
Console.Error.WriteLine("Betting round started " + VERSION);
3636

3737
Console.Error.WriteLine(gameState["game_id"].Value<string>());
38-
int value = 0;
38+
//int value = 0;
3939

40-
var in_action = gameState["in_action"].Value<int>();
41-
var ourPlayer = gameState["players"][in_action];
42-
return ourPlayer["stack"].Value<int>();
40+
//var in_action = gameState["in_action"].Value<int>();
41+
//var ourPlayer = gameState["players"][in_action];
42+
//return ourPlayer["stack"].Value<int>();
43+
44+
return 999999;
4345

4446

4547

@@ -103,7 +105,7 @@ public static int BetRequest(JObject gameState)
103105
// {
104106
// var amount = current_buy_in - our_current_bet;
105107
// Console.Error.WriteLine("Got no better to do, defaulting " + amount);
106-
108+
107109
// return amount;
108110
// }
109111

0 commit comments

Comments
 (0)