Design notes
The decisions behind the game, the options that were dropped, and the numbers that changed during tuning.
Decisions
- A real route. The game follows the barn swallow migration from Hudson Bay to the Argentine Pampas, compressed so a full flight takes about 20 minutes.
- One life, no checkpoints. An earlier build had a checkpoint in every region and a "pick up where you left off" button. Both were removed, because the difficulty is part of the game. The one exception left is a dropped connection: reconnect within a minute and you carry on with the same flight.
- A shared sky. Everyone flies the same route at the same time, and you can knock other birds out of the air. The server decides every knockdown, so both players see the same result.
- Echoes, kept rare. Now and then the game replays a few seconds of someone's past flight near you, in the spirit of the messages and ghosts in Dark Souls. They are meant to be an occasional surprise, so they never flood the screen.
- Miles, mph and feet. The game uses imperial units throughout.
- Ads only around the game. Ads sit at the edges of the page and never have to be watched to keep playing. Putting ads on billboards inside the game world was considered and dropped, because of ad network policies and the risk of accidental clicks.
- One small server. The game runs on a single self-hosted EC2 instance, set up by hand without infrastructure-as-code tooling.
Tuning
Much of the tuning came from simulated playtests: a bot pilot flew the route and the results showed where it failed. The rest came from playing the game.
| Problem | Before | After |
|---|---|---|
| Storm downdrafts were lethal | A 240 units/s downdraft cost about 1,400 units of altitude and 50 energy in about 6 seconds | 170 units/s inside the storm cloud, 45 in the rain shaft |
| Slow flight was free | The bird could hover just under stall speed | Induced drag at low speed, and a stall forces the nose down |
| Then the game was too hard | The bot ran out of energy in every region | Less drag for a glide ratio of about 27:1, dives capped near 100 mph with extra drag at high speed, and more energy from food |
| Phones felt worse than a keyboard | Dragging set how fast the nose turned | Dragging sets where the nose points |
Server load
A load test with 500 simulated players showed the server spending about 70 ms per tick building snapshots. Grouping players into shared 600-unit cells, so everyone in a cell gets the same snapshot, brought that to about 8 ms. Bandwidth fell from about 25 to about 10 KB/s per player.
Load-test bots are kept out of everything players see afterwards: they never become echoes, feathers, records or statistics.