Towneers is a free social multiplayer online game — a life simulator in one shared isometric pixel city that runs in the browser, on desktop and on phones, with no download. Players fish, farm, open cafés, hire each other for shifts, trade in a player-run market and build their own houses.

I want to share a few engineering choices that kept a browser MMO small enough for one developer.

1. An authoritative Node.js server with one runtime dependency

The whole server is plain Node.js. The only runtime dependency is ws for WebSockets. HTTP, static files, storage, the admin panel and analytics are written on top of the standard library.

Fewer moving parts means fewer surprises on a small VPS and fast cold starts. The server is the single source of truth: clients send intents ("sell 10 perch at this till"), the server validates and applies them.

2. Shared game logic as ES modules

Item registries, recipes, prices and economy tuning live in a shared/ folder of ES modules that both the server and the client import. The client can show an exact price preview or a crafting result instantly, and the server verifies the same action with the same code. One mechanic lives in one place.

3. Our own canvas renderer

The city is isometric pixel art drawn by code on a canvas: buildings, furniture, characters, cars and 700+ NPC residents who walk, shop and work. The same renderer runs on phones, so every keyboard action also has a touch control.

4. Translation on the fly

Source strings are dictionary keys. Players see English, Spanish, German, Ukrainian or Russian; a missing translation falls back to English. New strings are extracted by a script and translated in batches.

5. A player economy you can reason about

The economy is designed so that other players are worth talking to:

  • the city sells the basics, buys from players at a floor price that drops the more you sell in a day, and caps prices;
  • a venue owner can post a buy order ("perch, 20 gold, up to 10 a day"), paid from the venue's own cash register — so players usually pay more than the city, but every coin competes with rent, utilities and wages;
  • the "players pay ≈" price on every item is the median of the last week's real deals, shown only once at least five deals between at least four different players happened.

That last rule keeps a single trader from faking the market price.

Try it

Towneers is in open alpha: rough edges, weekly updates, and a feedback button that goes straight to me. If you try it, I'd love to hear how the first ten minutes feel and how it runs on your device.

▶ Play free in your browser: https://towneers.world/r/devto?utm_campaign=overview-01&utm_content=post

Happy to answer questions about the architecture in the comments.