Commit Graph

12 Commits

Author SHA1 Message Date
c7fa9a12e7 fix: Install all dependencies in server Dockerfile for TypeScript build, then prune dev deps
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Failing after 1m36s
build-and-deploy / deploy (push) Has been skipped
2025-07-05 14:54:47 -06:00
3f52296395 fix: Add git to all Dockerfiles for npm dependencies that require git repositories
Some checks failed
build-and-deploy / build (push) Failing after 1m29s
build-and-deploy / deploy (push) Has been skipped
build-and-deploy / filter (push) Successful in 2s
2025-07-05 14:52:00 -06:00
3ed8357e25 fix: Change npm ci to npm install in all Dockerfiles to resolve package resolution issues
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Failing after 52s
build-and-deploy / deploy (push) Has been skipped
2025-07-05 14:49:25 -06:00
c95ca5b998 fix: Update Node.js to v20 in all Dockerfiles and regenerate server package-lock.json
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Failing after 25s
build-and-deploy / deploy (push) Has been skipped
- Node 20 required for Colyseus 0.16+
- Update npm ci flags for compatibility
- Regenerate package-lock.json to sync missing dependencies
2025-07-05 14:45:35 -06:00
8ecd151d46 feat: Add gitkeep files to trigger initial Docker build for all services
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Failing after 9s
build-and-deploy / deploy (push) Has been skipped
2025-07-05 14:43:20 -06:00
85419138a3 fix: Add ignore-pull-failures flag for initial deployment when images don't exist
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Failing after 2s
2025-07-05 14:41:56 -06:00
08c56feb6c 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
2025-07-05 14:36:25 -06:00
20dde085d2 fix: Update workflow to trigger on main branch instead of master 2025-07-05 14:21:03 -06:00
580099bf59 feat: Add Docker infrastructure and Gitea CI/CD pipeline
- Add Dockerfiles for server, client, and admin services
- Create docker-compose.yml for orchestration
- Add Gitea Actions workflow for automated build/deploy
- Configure conditional builds based on directory changes
- Use gitea.interno.com registry for image storage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-05 14:19:19 -06:00
eb6d19906b feat: Complete Admin Dashboard with game control and player management (v0.0.8-alpha)
## Major Features Added
  - **🎛️ Complete Admin Dashboard**: Real-time player monitoring with detailed stats
  - **👥 Player Management**: Individual and mass player kicking with proper notifications
  - **🎯 Global Round Control**: Advance/retreat rounds across all rooms simultaneously
  - **⏸️ Game Control**: Pause/resume games from admin interface
  - **🔔 Client Notifications**: Players receive alerts for kicks and round changes

  ## Technical Improvements
  - **🏗️ Official Colyseus API**: Replaced global variable hacks with `matchMaker.query()` and `matchMaker.remoteRoomCall()`
  - **📡 Proper Client Communication**: Implemented broadcast messages for `adminKicked`, `gamePaused`, `gameResumed`, `roundChanged`
  - **🎮 Enhanced GameRoom Methods**: Added `pauseGame()`, `resumeGame()`, `advanceRound()`, `previousRound()`, `_forceClientDisconnect()`, `_forceDisconnectAllClients()`, `getInspectData()`

  ## UI/UX Enhancements
  - **📊 Detailed Player Info**: Name, room, role, producer type, and current tokens (🦃🌽)
  - **🚫 Proper Kick Notifications**: Clients auto-redirect to home with clear messaging
  - **🎨 Improved Admin Interface**: Better organized controls for non-technical commentators
  - **📱 Responsive Design**: Works well on different screen sizes

  ## Bug Fixes
  - **🔧 Fixed Admin Service URLs**: Now correctly calls Colyseus server (port 2567) instead of admin server (port 3001)
  - ** Mass Kick Notifications**: All players receive proper notifications when expelled en masse
  - **🔄 Auto-redirect**: Kicked clients properly return to home screen

  ## Architecture
  - **🏗️ Clean API Design**: All admin endpoints use official Colyseus patterns
  - **🔒 Type Safety**: Maintained TypeScript sync between server and clients
  - **📦 Microservices Ready**: Separated concerns between game server and admin interface

  **Breaking Changes:** None - fully backward compatible
  **Migration:** No migration needed
2025-07-04 17:43:28 -06:00
656cf7988e modificada la logica de juego e interfaz para acomodarse a su objetivo real. llevado a un punto de al menos 3 jugadores simultaneos 2025-07-03 18:08:29 -06:00
f739c6b3c7 first commit 2025-07-03 00:06:32 -06:00