Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Building real-time games using Workers, Durable Objects, and Unity

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Kristian Freeman
Word Count
2,516
Language
English
Hacker News Points
8
Summary

Kristian Freeman has built a simple 3D multiplayer world called "Durable World" using Cloudflare Workers and Durable Objects to demonstrate the real-time consistency they provide in applications. The game is deployed entirely on the Cloudflare stack, with Pages for serving the client-side game and Workers as the coordination layer. The server uses Durable Objects and WebSockets to sync player position and other information like randomly generated usernames. This project showcases how Durable Objects can be used in building real-time applications such as games, with potential for further exploration and development.