WikiMasters Builds Serverless Real-Time Card Game on Cloudflare Edge Infrastructure
The open-source trading card game WikiMasters, built on Wikipedia articles, was engineered to achieve sub-50ms global latency without maintaining persistent server containers. Its stack combines TanStack Start with React 19 on Cloudflare Workers, with game rooms hosted as Durable Objects placed in the data center nearest each room's creator. Turn updates are sent as compact binary frames rather than JSON, cutting payload size by about 68% and reducing garbage collection pauses on clients. Matchmaking starts with a ±50 ELO window that widens by 25 points every 2.5 seconds, and edge ticket locks prevent duplicate matches across workers. The developers say this approach delivers a smooth 60fps experience entirely on the edge.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in