← Selected workCase study / Gaming Startup
Real-Time Multiplayer Escape Rooms, Browser-Based
Virtual Escape Room Platform
My roleFull-Stack Team Lead
TeamLed 3 developers, then sole owner
01 Context
The work, at a glance.
Led development of a browser-based multiplayer escape room platform from prototype to launch, then took over as sole owner of the codebase. Built a custom HLS streaming pipeline that cut infrastructure costs by 70%+ compared to AWS Media Services, while keeping video load times near-instant.
ReactNode.jsWebSocketsPhaserAWS
02 The challenge
What needed to change.
A gaming startup needed a virtual escape room platform that could handle real-time multiplayer interactions with minimal latency.
- Real-time synchronization across multiple players
- Game state and puzzle logic needed to stay in sync for every player
- Low latency needed for the experience to feel real-time
- Scalable architecture for concurrent game sessions
- Cross-platform compatibility for different devices
03 The approach
Decisions that moved it forward.
Built a real-time multiplayer platform on WebSockets, with game state management tuned for collaborative gameplay.
01Real-time Multiplayer Architecture
Implemented low-latency communication system for synchronized gameplay
- WebSocket data flows with compression and throttling for real-time events
- Backend event timing synchronized with the Phaser rendering loop
- Recovery logic for missed packets and seamless rejoin after network drops
- Player simulation harness for stress testing without live testers
02Custom HLS Streaming Pipeline
Replaced costly AWS Media Services with a purpose-built video pipeline
- Python scripts segment cutscene videos into HLS at multiple resolutions
- Automated uploads to S3 with CDN distribution
- Adaptive bitrate playback in the frontend for instant start
- Cutscenes load near-instantly at a fraction of the managed-service cost
04 The outcome
What the work made possible.
Built a browser-based multiplayer escape room platform with a custom HLS streaming pipeline, cutting infrastructure costs 70%+ versus AWS Media Services and opening a corporate remote-events line of business.
Video streaming infrastructure costrelative, AWS Media Services = 100
Custom HLS pipeline70%+ saved
≤30 Playback also went from multi-second loading to near-instant.
- Cost Savings
- ~70%+ reduction in infrastructure costs
- Performance
- Near-instant video playback vs. multi-second loading
- Reliability
- Automatic reconnection and failover on network drops
- New Market
- Corporate remote-events bookings
- Streaming
- Custom HLS pipeline, replacing AWS Media Services
- Custom HLS streaming pipeline cut infrastructure costs 70%+ versus AWS Media Services.
- Near-instant video loading with adaptive bitrate streaming, close to native app performance.
- Automatic reconnection and failover kept sessions alive through network drops.
- Platform launched for corporate events and consumer activations, opening a new sales channel.
Download the case study ↓