01
Context
Omi is a four-player trick-taking game played across Sri Lanka at kitchen tables and late nights. Every online version either buried the game behind sign-up walls or broke the moment one player switched networks on mobile.
The goal was a table you can spin up in one tap, drop into a group chat as a link, and start playing in seconds — with responsive bots filling empty seats or taking over if someone drops.
02
Architecture
Each table runs as an authoritative state machine holding deck shuffles, trump selection, turn timers, and trick resolution. Clients never see cards they do not hold; every event is validated server-side before broadcast.
Reconnects replay the compact table snapshot so a flaky connection on mobile returns cleanly to the active hand without stalling three other players.
- Authoritative trick & trump state machine per room
- Instant invite codes and zero-account guest seats
- Bot players that follow suit, track trumps, and fill dropouts
03
Craft
Card games live or die on rhythm. Card fan angles, deal cadence, trump reveal, and trick sweeps were tuned so the table reads at a glance on a phone held in one hand.
Custom playing-card geometry and restrained monochrome contrast keep attention on the four cards on the felt rather than chrome around them.
04
Outcome
Live at playomi.app: four-player games start from a single shared URL with no mandatory install, working smoothly across desktop browsers and mobile connections.