Back to browse
LennyFighter: A multiplayer fighting game on Cloudflare Durable Objects

LennyFighter: A multiplayer fighting game on Cloudflare Durable Objects

by iglesiasbrandon·Apr 21, 2026·2 points·1 comment

AI Analysis

●●●BangerWizardryBold Bet

Zero-origin multiplayer fighting game running entirely on Cloudflare Durable Objects.

Strengths
  • Hibernatable WebSockets handle reconnection without dedicated game servers.
  • Durable Objects manage match state at the edge.
Weaknesses
  • Trivia mechanic limits gameplay depth compared to action fighters.
  • Vendor lock-in to Cloudflare's specific edge architecture.
Category
Target Audience

Cloudflare developers and indie game devs

Similar To

Socket.io · Pusher · Nakama

Post Description

I built LennyFighter to explore how far Cloudflare's developer platform can go for real-time multiplayer. Everything runs at the edge with zero origin servers: Vinext (React SSR) + Workers + Durable Objects for match state + D1 for stats + KV for session tokens + WebSockets for real-time play.

It's a 1v1 trivia fighting game where you pick a tech industry leader as your fighter (Brian Chesky, Marty Cagan, Elena Verna, etc.) and answer trivia from their real Lenny's Podcast interviews. Correct answers deal damage scaled by type effectiveness; wrong answers cost you recoil HP.

Each match is a MatchmakingQueue DO → MatchRoom DO (one per match) with hibernatable WebSockets, 20s reconnection grace period, and an optional pre-match wager/item selection phase. Source: https://github.com/iglesiasbrandon/lennyfighter

Inspired by PokeLenny. Would love feedback on the architecture or the game or new features to add!

Similar Projects

Hardware●●●Banger

Voice AI Toys on ESP32 with Cloudflare Durable Objects

Cloudflare Durable Objects + ESP32 creates global voice toy network.

WizardryNiche Gem
akadeb
202mo ago