feat(backend): complete BA1-BA5 game logic improvements
📌 Description
- BA1: Fix turn order in GameTable.ts (circular order, skip folded players)
- BA2: Reduce turn timer from 30s to 20s in game.gateway.ts
- BA3: Auto-CHECK (if no bet) / auto-FOLD (if bet) on timeout
- BA4: Add socket notifications for friend requests (FRIEND_REQUEST_RECEIVED, FRIEND_REQUEST_ACCEPTED)
- BA5: Add user rooms with JOIN_USER_ROOM and offline status notifications
- Fix lint and build errors
- All 37 tests passing"
🔗 Lien vers l'issue
BA1->BA5
✅ 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é