dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit bb87174441bf388dba334992ac37eed981b07cbc
parent b3cc25500f573b8cd0975ecf3289ca5739330adf
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 11 Dec 2023 22:45:07 -0500

cleanup

Diffstat:
Mpkg/web/handlers/poker/poker.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -31,7 +31,6 @@ const DealSpacing = 55 const DealerStackX = 250 const DealerStackY = 30 const NbCardsPerPlayer = 2 -const SmallBlindBet = 10 const BigBlindBet = 20 type Poker struct { @@ -780,7 +779,7 @@ func dealerThread(db *database.DkfDB, g *PokerGame, roomID string) { newLogEvent(g, roomLogsTopic, fmt.Sprintf("-- New game --")) p := g.Ongoing.Players[g.smallBlindIdx] - bet := SmallBlindBet + bet := BigBlindBet / 2 p.doBet(bet) PokerPubSub.Pub(roomTopic, PlayerBetEvent{PlayerSeatIdx: p.SeatIdx, Player: p.Username, Bet: bet, TotalBet: p.Bet, Cash: p.Cash}) newLogEvent(g, roomLogsTopic, fmt.Sprintf("%s small blind %d", p.Username, bet))