โ† RP-13 ยท back to the register
Working paper ยท Web game ยท 2026

Whiskerton

A cozy town game on your phone where your friends really live here โ€” and you live in theirs.

1 server object per town 10 plots, seeded 0 audio files shipped 386 commits in 16 days

The idea

cozy town life with friends

The cozy town genre is lovely and almost entirely solitary. You can visit a friend, but only while they hold the gate open. I wanted a town where my friends actually live โ€” with a house on a plot, mail in the box, and a life that carries on whether or not I'm looking.

So in Whiskerton, friends become residents of each other's towns, each on their own phone. Every town is persistent and lives on a server, always open. Nobody hosts. People come and go without interrupting anyone, and when you log in the evening after a friend did, there's a letter from them in your mailbox and the fossil they dug is in the museum with their name on it.

The loop is the one you'd hope for: fish, shake fruit trees, dig fossils, sell everything for bells, pay off the house loan, wake up to an upgrade, decorate. The shared museum โ€” a fossil hall and an aquarium โ€” credits every exhibit with a "donated by" line, which turns out to be the most quietly competitive thing in the game.

A town is ten plots, generated from a seed. Whoever founds it picks one of four layouts and becomes mayor. Villagers fill the empty plots and move out, graciously, as friends move in. The shop is run by Bramble, a badger; the museum by Professor Reed, a heron. There are letters and gifts, a town news board, chat capped at 140 characters, emotes, and villagers who gossip about your friends behind their backs.

Cozy, not cutesy. It's written for adults โ€” dry wit, original puns, no exclamation marks doing the heavy lifting.

Time is real. The town runs on a real-world clock in its own time zone: the day rolls over at 5 in the morning, and mail arrives at 9 and at 5. If you want the letter, you come back for it.

Plate I ยท a late afternoon in town

what the phone sees vs. what the town knows
Cozy town life with friends
The fish shadow

The town knows what's under the water. Your phone only knows how big it looks. You can't sniff the network to skip the boring ones.

Town objectshadow #3
size: large
species: (kept)
Your phoneshadow #3
size: large
 
Fossil hall ยท new exhibit
Donated by a resident
The town clock
Day turns 05:00Post 09:00Post 17:00
A mock-up in the game's own palette, not a screenshot. The clock is the town's real local time; the friend by the mailbox is drawn about 100 ms in the past so their walk looks smooth at roughly ten updates a second. The dashed ring marks a fish shadow โ€” the phone is told its size and nothing else.

One town, one object

no host, no lost fish

The thing that makes "nobody hosts" work is that each town is a single Cloudflare Durable Object โ€” one small, single-threaded server that owns that town's world, with its own SQLite database, its own alarms for the mail and the day rollover, and hibernating WebSockets so a quiet town isn't holding a process open. An idle town costs nothing. Accounts and the directory of towns live separately in D1, and sign-in is a code sent by email.

The rule I held to: every change to the world commits in one SQLite transaction inside the town's object before your phone gets its acknowledgement. If you're told you caught it, it's in the bag on disk. There's no "the server restarted and your fossil went back in the ground."

The second rule is about fairness. The world is shared โ€” the same trees, the same pond, the same museum โ€” but the daily yields aren't. Fish shadows, dig spots, shells and fruit are generated per resident from a seeded random number generator. Whoever plays first in the morning can't empty the town for everyone else, and nobody has to agree on a turn order to be kind.

Step 01
Phone

You cast. The client sends the intent over the town's WebSocket and waits โ€” it doesn't decide what you caught.

Step 02
Worker

Checks your session and routes the message to the one object that owns this town.

Step 03
Town object

Rolls your yield from your own seed, then writes the catch, the bag and the bells in a single SQLite transaction.

Step 04
Ack

Only after the commit does your phone hear back. Anyone else in town sees the result after it's saved, not before.

TypeScriptVitethree.jsReact (menus & HUD)Zustand Cloudflare WorkersDurable ObjectsSQLiteD1Better Auth Web AudioInstallable web app

On the phone

targets, and one measurement

The town is drawn with plain three.js rather than React Three Fiber; React and Zustand handle only the menus and the HUD, which is where they earn their keep. It installs to the home screen as a web app. Movement syncs about ten times a second, and other players are rendered roughly a tenth of a second behind real time so they glide instead of teleporting.

The performance targets are 60 fps on an iPhone 12-class phone and about 150 draw calls. Those are targets, not results โ€” the real-phone pass hasn't happened yet. The one number I have measured: culling brought a typical town view from about 1.03 million triangles a frame down to 0.72โ€“0.81 million.

All the music and sound effects are original and synthesized live in the browser with Web Audio. No audio files ship at all. Some of the 3D models come from the CC0 kits by KayKit and Kenney, credited with thanks; the characters are built in code.

Status

In progress. The foundation, the core loop and the living town โ€” fossils, museum, villagers, report and block, account deletion โ€” are built. Still to do: the v1 friends release and the real-phone performance pass. Native iOS and Android wrappers can follow any time after v1.

Shape

386 commits in 16 days
Oct 2โ€“18, 2026
~53K lines of TypeScript
251 test files
Milestones M0โ€“M2 built

Platform

Mobile-first web ยท installable
One Durable Object per town
Models in part from CC0 kits
(KayKit, Kenney)
Audio synthesized, none shipped

Filed

RP-13
Drafted 2026
Russ Fyfe

โ† the register RippedPages ยท filed & kept by RF