Approach · Hybrid Intelligence
Dicee
Multiplayer Game Engine
Overview
Family-friendly multiplayer dice game demonstrating serverless real-time coordination at scale. Built to explore Cloudflare's edge computing model and WebAssembly optimization.
Solo development from architecture through deployment. Live users, real monitoring, production infrastructure.
Technical Architecture
Game Engine
- Rust compiled to WebAssembly (45KB optimized bundle)
- Deterministic game logic, zero external dependencies
- 1800+ automated tests ensuring correctness
Backend Infrastructure
- Cloudflare Durable Objects for stateful coordination
- WebSocket protocol for real-time gameplay
- PostgreSQL (Supabase) for persistence
- Serverless deployment model
Frontend
- SvelteKit (Svelte 5) on Cloudflare Pages
- ts-rest for type-safe API contracts
- Responsive design, zero-install gameplay
Why This Matters
Production Deployment
Live users, real monitoring, operational experience managing production infrastructure.
Distributed State
Serverless object coordination without traditional server architecture. Exploring edge computing patterns.
Performance Optimization
45KB WASM bundle demonstrates understanding of compilation targets and performance constraints.
Type Safety
End-to-end type contracts from Rust through TypeScript. Type-driven development.
Technical Depth
This project demonstrates understanding of:
- Distributed state management and coordination
- WebSocket protocols and real-time systems
- Serverless architecture patterns and edge computing
- WebAssembly compilation and optimization
- Production deployment and operational monitoring
- Type-safe system design across language boundaries
Development Context
Built as a learning platform to explore modern web infrastructure while creating something family members could actually use. The constraints—real users, need for reliability, performance requirements—drove architectural decisions and forced engagement with production concerns beyond local development.