Skip to content

Commit 2bb748d

Browse files
committed
Added bet info
1 parent 980ff2c commit 2bb748d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/PokerPlayer.cs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public static int BetRequest(JObject gameState)
5555
var small_blind = gameState["small_blind"].Value<int>();
5656

5757

58+
Console.Error.WriteLine("Our current bet: " + ourPlayer["bet"].Value<int>());
59+
60+
5861
var cards = new List<Card>();
5962
foreach (var card in hole_cards)
6063
{
@@ -101,8 +104,6 @@ private static bool GetPlay(out int betValue, List<Card> cards, JToken community
101104
// We have both cards on hand.
102105
if (cards.Count == 2)
103106
{
104-
// Our hand
105-
106107
// Om vi har par
107108
if (cards[0].Rank == cards[1].Rank)
108109
{

0 commit comments

Comments
 (0)