Draft: Feature/frontend game bots
📌 Description
🔗 Lien vers l'issue
- BUG#1: Timer only starts after game initialization (gameInitialized + playPhase)
- BUG#2: Hole cards now visible (dealCardsToPlayers with actual deck)
- BUG#3: Timer only active when isMyTurn (single useEffect with cleanup)
- BUG#4: Turn passes after player action (hasFolded update + nextTurn)
- BUG#5: Auto-FOLD only after full 20s countdown (interval with ref)
✅ Type de changement
-
Feature (nouvelle fonctionnalité) -
Fix (correction de bug) -
Refactor (pas de changement fonctionnel) -
Docs (documentation) -
Chore (maintenance technique) -
Hotfix (urgence)
🧪 Comment tester
✅ Checklist
-
Tests unitaires ajoutés/mis à jour -
Documentation mise à jour -
Pipeline CI vert -
Relu par un reviewer
👥 Reviewers requis
-
Backend (@azra, @soheil) -
Frontend (@mohamed, @yigit) -
Sécurité (@linda, @massi) -
BDD (@elhadj)
🚨 Impact potentiel
-
Breaking change -
Performance -
Sécurité