Skip to content

Release V1.0.6

Latest

Choose a tag to compare

@dib0 dib0 released this 03 Jan 12:42

Firefox Compatibility & Lives System Fixes

Firefox WebSocket Support

  • Fixed connection errors when accessing game from Firefox browsers
  • Added WebSocket keepalive with 30-second ping/pong to prevent timeouts
  • Implemented proper connection timeout handling (15 seconds)
  • Optional origin validation now configurable via ALLOWED_ORIGINS environment variable
  • Enhanced server-side connection tracking with health monitoring

Lives System Correction

  • Fixed premature game-over bug where stats appeared after any player death
  • Players now only removed from game when lives reach zero (true elimination)
  • Opponent tracking maintains lives count across respawns
  • Death messages now display remaining lives: "You destroyed Player2! (Lives: 2)"
  • Eliminated players show distinct message: "You eliminated Player3!"
  • Game-over screen now only triggers when one player remains alive