BalakCity Posted 10 hours ago Share Posted 10 hours ago Hi everyone! I've been building Balak City, a multiplayer open-world city that runs in a browser tab on PC and mobile, and also inside Telegram as a Mini App. No download, free to play. What's in it A living city: airport, cargo port, factories, farms, beaches and live traffic, with day and night. Cars, trucks, boats, helicopters and planes; delivery and transport jobs; missions. Everyone shares the same city in real time, with chat and a few AI neighbors. How it's made (the part this forum might like) Plain JavaScript and Canvas 2D, with a WebGL2 path on desktop. The city is drawn in cached layers, so a zoomed-out frame redraws very little. The backend is Cloudflare Workers with Durable Objects: one object per city room holds the authoritative state over WebSockets. A headless browser on a small VPS acts as the "host" that simulates traffic and NPCs 24/7, so the city keeps moving even with zero players online. The server credits movement steps against real time, which stopped speed hacks without trusting the client. There's an optional in-game economy that uses USDT on Solana, but you can play all of it without paying anything. ▶ Play in your browser · itch.io page I'd really appreciate feedback on the first five minutes, and on performance on low-end phones. Happy to answer questions about the Workers + headless host setup. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.