Overview

LennyFighter is built entirely on Cloudflare's developer platform, running at the edge with zero origin servers.

View the source code on GitHub →

Architecture

Architecture Diagrams

Click each diagram to expand.

Tech Stack

Framework: Vinext (React SSR on Cloudflare Workers)
React: React 19 with React Server Components
Build: Vite 8
Runtime: Cloudflare Workers
Multiplayer: Durable Objects + WebSockets
Database: Cloudflare D1 (SQLite)
Session Cache: Cloudflare KV
Game Engine: Pure HTML/CSS + React (no canvas/Phaser)
Matchmaking: MatchmakingQueue DO (singleton)
Match State: MatchRoom DO (one per match)

Security

Multiplayer Infrastructure

Data Model