dkforest

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

commit b72a2a88489fe01e0ca43002e07973ddf32cb705
parent 78552328934b2ecc0571ddf590263f698e6e885c
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 11 Dec 2023 14:35:53 -0500

add doc

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

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -446,8 +446,8 @@ func waitPlayersActionFn(g *PokerGame, roomID string, skip, minBet int) bool { // TODO: implement maximum re-raise OUTER: - for { - for { + for { // Repeat until the round is settled (all players have equals bet or fold or all-in) + for { // Repeat until all players have played playerToPlayIdx = (playerToPlayIdx + 1) % len(g.Ongoing.Players) p := g.Ongoing.Players[playerToPlayIdx] if playerToPlayIdx == lastRaisePlayerIdx {