Claim
The Earth as a grid of squares, one for each visitor. You claim a square, build on it, and close the tab. The stocks keep growing while you are away, and everyone else is on the same map.
this experiment
- status
- in progress
- published
- 2026-11-26
- runs
- in your browser
- stack
- typescript, react, maplibre gl js, openfreemap, cloudflare durable objects, websockets
live
in progressfallback
A map of the Earth cut into 11,520 squares, each three degrees wide, with a small mark on each square that a visitor holds. A visitor picks a free square and claims it. A panel beside the square lists three stocks (ore, glass and water) with what each gains in an hour, the power the claim has, and six buildings with their levels. A build costs stocks and takes time, two builds can wait in line, and the stocks grow while the visitor is away. A crew goes to a free square and comes back with a find, which holds stocks, parts that end a build sooner, and at times a relic. Each square is land, coast or sea, and a claim makes half more of one stock by the ground of its square. A crew finds each relic on one ground only, and its find has more parts on land, a relic more often on a coast, and more stocks at sea. A claim can make up to six outposts on free squares, each for a large cost in all three stocks, and an outpost gives three more pairs of hands, the stock of its ground, and a place for the crew to leave from. At the two nearest zoom stops each claim is drawn as a small model of its six buildings, each as high as its level, and the models turn in steps of 15 degrees. A list ranks every claim by what it has spent.
this text shows in place of the live piece when it cannot run.One square each
I wanted a multiplayer game that runs in the browser, from the family of OGame: you build, you wait, you close the tab, and you come back to more than you left.
So this is that, on a map of the Earth. The planet is cut into 11,520 squares, each three degrees wide. You pick a free one and claim it, and that's your colony. One claim per visitor. Everyone is on the same map, so you can see who took the square next to yours.
Nothing ticks
There is no game loop on the server. A claim keeps the time of its last change, and when somebody asks, the room works out what happened since. Stocks grow at the old rates up to the moment a build ended, and at the new rates after it.
A stock is counted in grains, 3,600,000 to a unit. A rate of 1,800 units an hour is then 1,800 grains a millisecond, and no part of a unit is ever lost to rounding. The page runs the same rules as the room, so the numbers move between two messages without a question to the server.
A crew, and somewhere to send it
The base game worked pretty well. I wanted it to be more fun, so a claim has a crew now.
You pick a free square and send the crew there. The trip takes four minutes for each square of distance, there and back: the square next door is four minutes, and the other side of the world is four hours. It costs ten water a square.
The room rolls the find when the crew leaves, and keeps it to itself. Your browser doesn't know what's in it until you open it. A find has stocks, parts that make the builds in line end sooner, and now and then a relic. There are sixteen relics, all old lifting gear, and each one is one more pair of hands on every build.
Sites
Zoom all the way in and a claim stops being a mark. It becomes a small model of itself: six buildings on a plate, each one as tall as its level. Yours is the bright one. A build that's still running is a wire frame at the height it's going to.
You can turn them, fifteen degrees a press, and you can press a building on your own site to pick it. Everyone else's sites are there too, so you can see what the neighbours built.
A depot that holds a night
The depot used to hold a fixed number, and a young claim filled it in minutes. A night away paid the same as a coffee break.
Now it holds what the claim makes in eight hours, and each level adds two.
Land, coast and sea
Until now a square in the middle of the Pacific and a square on top of Istanbul were the same square to the rules. Not any more.
Every square is land, coast or sea. A coast is a square with a fair share of both in it; a sliver of beach doesn't count. That comes from a table of 96 lines of text, made once from Natural Earth's coastlines. A lake is land. The Caspian counts as sea, like its name says, so its shores are coast.
Your own square gives you half more of one stock: ore on land, glass on a coast, water at sea. Nobody makes less than before.
The honest part: you never wait for stocks in this game, you wait for builds. So that half more is a nice number and not much else, until there's something big to spend it on.
The crew is where it counts. A find has half more parts on land, a relic twice as often on a coast, and half more stocks at sea.
And each relic lies on one kind of ground now: seven on land, four on a coast, five at sea. The capstan and the windlass are out at sea, the gantry is on a coast, the barrow is on land. A crew only finds the relics of the ground it goes to, so if you want all sixteen, you have to send it to all three.
Outposts
So I gave the stocks something big to spend on. A claim can make up to six outposts, each on a free square of its own.
The first costs 60,000 ore, 40,000 glass and 15,000 water. Every one after it costs five times the one before, so the sixth is a number I had to shorten to fit the panel.
An outpost is three more pairs of hands on every build. It also gives you the stock of its ground, the same way your own square does, and the crew can leave from it, so a far coast is suddenly a short trip.
This is where land, coast and sea start to matter for real. An outpost needs all three stocks. Put all six on land and you swim in ore while you wait for water. A bot that never sleeps got its sixth outpost in under three days with a mix of grounds, and in four with one ground only.
Nobody can take an outpost from you. You can give one up, and get nothing back.
Shipments
The last thing on my list was trade, and I made it smaller than trade. You can send another claim a load of one stock: a quarter, half or all of what you hold. Nothing comes back. It's a gift.
A claim has two ships. A ship is out until its load lands, and the trip costs water, the same as the crew's. The load then waits at the other claim's dock until that visitor takes it, so a gift is something to come back to. One load from you waits at a claim at a time, eight wait at one dock, and a load nobody takes is gone after a week.
The first thing I checked was the cheat. A claim costs nothing, so what stops you from making five and sending everything to one? I ran it. A bot that was fed by twenty other claims got to the same place less than a tenth sooner. Builds are the wait here, not stocks, so a pile of somebody else's ore doesn't buy much. So there's no cap on what a claim can take in.
Where it does help is the stock you don't make. A land claim with no pump has no water, and a claim at sea makes half more of it.
No account
You don't sign up. When you claim a square, the room makes a key and hands it to your browser. The room keeps only a hash of it.
Your name is a callsign that the room picks from two lists of 32 words. Nobody types anything that somebody else has to read.
Lose the key and the claim isn't yours any more. It leaves the map after 30 days with no visit.
The map
The squares sit on Mercator, the projection every web map uses, so a square of the grid is a square on your screen. Each one is three degrees wide, and the same size on your screen everywhere. On the ground it isn't: about 330 km across at the equator, and half of that around Oslo. That's Mercator being Mercator.
Under the squares is a coarse chart that the page draws by itself, from the same land data as Aftershock. When you open the map, real coasts load over it, and the borders of countries when you're close enough. MapLibre draws them from OpenFreeMap tiles, which are OpenStreetMap data.
I wanted a map with no key and no bill, and this is one. If the tiles don't come, the chart stays and the game doesn't notice.
What is not here
No combat, and nobody can take anything from you while you're away. That one is on purpose. No trade either: a load is a gift, and nothing comes back.