Overview
HordeBeasts is a tower defence where both sides attack and both sides defend. Two keeps face each other across a voxel island floating in the sky, joined by a winding road. You summon monsters that march down the road to the enemy keep, and you build towers to stop the monsters marching towards yours. Lose your keep and the match is over.
It is designed for phones held in landscape, plays against a computer opponent that adapts to your skill, or against a friend on the same Wi-Fi network. One purchase, no ads, no accounts, no data collected.
The Challenge
A classic tower defence is a puzzle: the waves are fixed, you find the layout that holds. Make the waves come from another player and every choice gets a second meaning — gold spent on a tower is gold not spent on an attack, and the other side is making the same calculation at the same time.
The hard part was the economy. It had to reward attacking without making a single all-in rush the only strategy, and it had to make defence worth something without turning matches into two turtles staring at each other.
How the Economy Works
Income every 10 seconds
Both players start with 200 gold and a level 1 keep. Every 10 seconds each side is paid:
income = 100 (base) + keep bonus + troop bonus
The base never changes. The other two parts are what you grow during the match.
Troops are an investment, not just an attack
Every monster you summon adds about 10% of its cost to your income, permanently — on every payout until the end of the match, whether the monster reaches the enemy keep, dies at the first tower, or is still walking.
| Tier | Cost | Income added per payout |
|---|---|---|
| 1 | 20 | +2 |
| 2 | 40 | +4 |
| 3 | 80 | +8 |
| 5 | 320 | +32 |
| 9 | 5,120 | +512 |
| 14 | 50,000 | +5,000 |
So a monster pays itself back in ten payouts — 100 seconds — and keeps paying after that. This is the core of the game: every attack is also a bet on your economy. The highest tiers trade income for raw power: tier 15 returns 7.5% and the final monster returns nothing at all, it exists only to break keeps.
The bounty: dying monsters feed the enemy
When a tower or a keep kills a monster, its owner earns half of that monster's cost. Throwing troops one by one into a strong defence still raises your income, but it also pays the opponent to build more towers. Timing matters: a wave that arrives together overwhelms towers, a trickle feeds them.
The keep: income, life and unlocks
Upgrading the keep is the other way to grow your income. Each level costs double the previous one (400, 800, 1,600 … up to 100,000 for level 10) and adds 10% of its price to every payout, the same rate as troops — but without handing a bounty to the enemy. Each level also:
- doubles the keep's life, buying time against a push;
- unlocks the next monster tier and the next tower family;
- strengthens the keep's own gun, which shoots any monster that reaches the gate.
Levels 11 to 15 add no income: they are pure power, unlocking the final towers and monsters for the late game. The strongest monster tiers also need a separate builder upgrade (100,000 gold).
Towers: the only defence
Monsters ignore each other — two hordes pass on the road without fighting. The only things standing between a monster and a keep are towers and the keep's gun. Each side has 35 plots next to the road:
- 10 tower families, from cheap fast-firing guns to heavy cannons, area-damage bulls and long-range archers, each with 3 levels;
- upgrading at the top of a family jumps straight to level 2 of the next family, paying only the new family's build price;
- two legendary families can't be built at all: they are reached only by upgrading past the last one.
A tower earns nothing. Every gold in a tower is gold that does not grow your income — but a tower that kills monsters is paid back through bounties.
The three-way choice
Every payout you face the same decision:
- Troops: income now and pressure on the enemy, but each one you lose is a gift to the opponent.
- Keep: safe income, more life and the unlocks you need later, but no pressure at all.
- Towers: no income, but survival — and bounties from every monster they stop.
Spend too much on troops and a single counter-push takes your keep. Spend too much on towers and the opponent out-earns you until no defence can hold. The match is won by reading what the other side is doing and answering with the right mix.
Our Approach
Built in Godot 4 with GDScript. All the balance — costs, income, life, damage, range — lives in three spreadsheets produced by a statistical analysis notebook and read by the game as-is: rebalancing is re-running the notebook and copying the sheets back, with no numbers duplicated in code.
LAN multiplayer uses a deterministic lockstep simulation. Both phones run the entire match; the only thing that crosses the network is what each player did — which monster was summoned, which tower was built. Health, positions and treasuries are never sent, because both devices compute the same result. A dedicated test plays the same match from both seats and fails if they disagree by a single bit.
Key Features
- Adaptive AI — The computer opponent forecasts what every wave will do to each keep and buys the defence that cuts the predicted damage most per gold. Its strength follows your rating.
- Chess-style rating — Single-player matches move an Elo rating with the FIDE formula. The difficulty ladder was measured by playing the AI against itself over hundreds of matches, the way chess engines are rated.
- LAN play, no setup — No IP addresses to type: a host shows four pixel-art symbols, the other player taps the matching host in the list.
- Voxel island — Monsters, towers, keeps and trees are built from cubes, for a pixel-art look in full 3D. The camera pans, pinches and turns all the way around.
- Map editor — Draw your own road and play on it.
- Designed for thumbs — Every touch target meets mobile accessibility sizes, measured in real millimetres on real screens.
- Offline and private — No servers, no ads, no analytics. The game never connects to the internet.
Results
A complete match runs end to end on mid-range phones, with an AI that beats six scripted strategies — including a human-style "garrison and dump the bank every 40 seconds" plan — and a difficulty ladder fitted from 504 measured AI-vs-AI matches. Every mechanic described above is covered by automated test suites that run headless in CI.
