dkforest

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

commit cffc6eaa652390e59069449717e5f38e309935ff
parent 5554dd1a7378f38b1cfbc1d090ecad56e194b4be
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Tue,  5 Dec 2023 21:31:55 -0500

comment

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

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -180,6 +180,7 @@ func NewOngoing(g *PokerGame) *Ongoing { return &Ongoing{Deck: deck, Players: players, WaitTurnEvent: PokerWaitTurnEvent{Idx: -1}} } +// Return either or not the game ended because only 1 player left playing func waitPlayersActionFn(g *PokerGame, roomID string) bool { roomTopic := "room_" + roomID lastRisePlayerIdx := -1