From fe3da0b11d3899b2853738b3fea8eff4481369f3 Mon Sep 17 00:00:00 2001 From: Whykioh Date: Mon, 2 Mar 2026 09:07:01 +0100 Subject: [PATCH] eternal boucle --- poker-paf/game.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/poker-paf/game.php b/poker-paf/game.php index 4cd686e..444fabc 100644 --- a/poker-paf/game.php +++ b/poker-paf/game.php @@ -139,18 +139,17 @@ $players[0]['is_dealer'] = 1; // Mettre à jour aussi dans la variable locale po // --- INITIALISATION --- // On charge les données une première fois window.onload = () => { + + players.push({ + id: , + money: , + blind: , + isDealer: + }); + UpdateLabels(); }; - - players.push({ - id: , - money: , - blind: , - isDealer: - }); - - // On regarde si le joueur est le dealer players.forEach(player => { if (dealerFound){