IK
Inefable KoumbaSoftware Engineer · Data & Networks
arrow_backBack to projects
MULTIPLAYER GAMINGEXPO SDK 57CLOUDFLARE EDGETURSO

Koyeba

Real-time multiplayer trivia, gaming tournaments, and brain-battles mobile platform.

Koyeba
OVERVIEW

Koyeba is a high-performance multiplayer trivia and tournament mobile app designed for fast-paced gameplay, real-time match synchronization, and offline accessibility.

THE CHALLENGE

Mobile multiplayer games often suffer from high latency, expensive persistent server setups, and total failure when operating under unreliable mobile connections.

THE TECHNICAL SOLUTION

A state-of-the-art mobile architecture combining Expo/React Native with local SQLite caching, backed by edge Cloudflare Workers and Durable Objects for stateful real-time lobbies.

Impact & Key Metrics

< 50ms

Edge room creation & sync latency

60 FPS

Game UI and animation rendering frame rate

100%

Offline gameplay compatibility

Full Stack Specifications

Frontend & UI

  • React Native (0.86)
  • Expo SDK 57
  • Expo Router
  • React Native Unistyles 3.3
  • React Native Skia
  • Legend List
  • Zustand
  • TanStack Query

Backend & Microservices

  • TypeScript
  • Hono API
  • Cloudflare Workers
  • Cloudflare Durable Objects
  • Zod OpenAPI

Database & Caching

  • Turso (LibSQL)
  • Drizzle ORM
  • Expo SQLite
  • MMKV

DevOps & Tooling

  • Wrangler CLI
  • Cloudflare Edge Engine
  • EAS (Expo Application Services)

Third-Party APIs

  • Google Sign-In
  • Apple Authentication
  • Expo Push Notifications

Key Architecture Decisions

01. HIGHLIGHT

Real-Time Lobbies via Cloudflare Durable Objects

Ultra-fast stateful WebSocket room management and match synchronization executed globally at the edge with zero traditional server overhead.

02. HIGHLIGHT

Offline-First Mobile Architecture with Local SQLite & Drizzle ORM

On-device caching of user progress, question banks, and scores using Expo SQLite and MMKV with automated cloud background syncing.

03. HIGHLIGHT

60 FPS Visual Rendering with React Native Skia & Unistyles

GPU-accelerated custom animations, countdown canvas, and zero-runtime theme engines ensuring maximum frame rates across all mobile hardware.

Core Features Breakdown

Real-Time Multiplayer Matchmaking

Instant lobby generation and real-time live scoring synchronized over WebSocket channels.

Cloudflare Durable ObjectsHonoReact NativeZustand

Offline Practice Mode

Single-player games fully playable offline using on-device SQLite database storage.

Expo SQLiteDrizzle ORMMMKV

Tournaments & Global Leaderboards

Scheduled competitions with dynamic leaderboards and automated cron-based rewards distribution.

Cloudflare Cron TriggersTursoDrizzle ORM

Interactive Canvas & Visual Engine

Dynamic gaming interface featuring hardware-accelerated timers, celebration particles, and haptic feedback.

React Native SkiaExpo AudioExpo HapticsUnistyles