update: Remove completed pause/resume game functionality from TODO
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Failing after 2s

This commit is contained in:
2025-07-05 14:36:25 -06:00
parent 20dde085d2
commit 08c56feb6c

14
TODO.md
View File

@@ -24,17 +24,3 @@ Type 'GameClient' is missing the following properties from type 'GameClient': cl
**Prioridad:** Media (funciona pero no es tipo-seguro)
### Admin API - Métodos pauseGame y resumeGame
**Problema:** Los endpoints `/api/admin/pause-game` y `/api/admin/resume-game` usan `matchMaker.remoteRoomCall` para llamar métodos que no existen en GameRoom.
**Archivos afectados:**
- `server/src/app.config.ts` - Endpoints que llaman a `pauseGame` y `resumeGame`
- `server/src/rooms/GameRoom.ts` - Falta implementar los métodos
**Solución pendiente:**
- Implementar método `pauseGame()` en GameRoom.ts
- Implementar método `resumeGame()` en GameRoom.ts
- Los métodos deben modificar `gamePhase` en el estado del juego
- Agregar logs apropiados para debugging
**Prioridad:** Alta (endpoints fallarán hasta que se implemente)