Repository navigation
Release V1.0.4
Changes
Lives System
- Added configurable lives per player (default: 3 lives)
- Players experience game over when all lives are depleted
- Lives counter displays with heart icons (♥ ♥ ♡) showing remaining/lost lives
- Lives are preserved across respawns and decremented on death
- Set to 0 for infinite lives (classic mode)
Improved Spawn Distribution
- Bases now spawn with 400 pixel minimum distance between them (increased from 250px)
- First 4 players spawn in corners of quadrants for maximum map spread
- Eliminated spawn clustering - bases are now well-distributed across the entire map
- Added visual debug tool to verify spawn distances (spawnDebug.js)
Custom HTML Injection System
- Added support for injecting custom HTML without rebuilding Docker images
- Three injection points: HEAD, BODY_START, and BODY_END
- Supports both config files and environment variables simultaneously
- Perfect for adding analytics (Google Analytics, Matomo, Plausible)
- Config file changes take effect with simple container restart (10 seconds vs 30+ minute rebuild)
- Ideal for environment-specific tracking and multi-environment deployments
Game Configuration
- Centralized all game settings into single gameConfig.js file
- Added 5 built-in presets: Classic, Hardcore, Casual, Tournament, Chaos
- Lives, spawn protection, and anti-camping now fully configurable
- Settings can be modified without changing game code