Home › Guides › Tower Defense Game Maker: Waves, Towers and Upgrades

Tower Defense Game Maker: Waves, Towers and Upgrades

What a tower defense game needs and how to get one built from a description: layouts, three tower roles, wave tables, gold economy and targeting rules.

Updated December 2, 2026 · 1276 words · more on this topic

A tower defense game is a road, a few towers with different jobs and a table of waves. Start with one map, three towers (single target, splash and slow) and ten waves. Give numbers for cost, damage, range, enemy health and bounty, and the agent builds a version you can play in the emulator preview.

Fixed path or open maze

Two layouts make two different games.

Fixed path. Enemies walk a road from an entrance to an exit, and towers go on the cells beside it. The player's question is where along the road each tower is worth most. Bends are the best spots, because an enemy going round a corner stays in range for longer.

Open maze. The field starts empty. Towers are also walls, and enemies take the shortest route around them, so the player builds the road. It is deeper, and it needs two extra rules: the route is worked out again after every placement, and a tower that would block the exit completely is refused.

Choose the fixed path first. Every enemy walks the same distance, so the numbers are easier to balance, and a road with four to six bends reads well on a small screen.

Three towers, three jobs

TowerJobCostDamageShots per secondRange in cells
ArrowHits one enemy501012.5
CannonSplash: hits everything within 1 cell of its target8080.52.5
FrostSlows its target by 40 percent for 2 seconds60212

Each tower has to be the right answer to some wave. The arrow tower is best against a few strong enemies. The cannon does only 4 damage per second to one enemy, but 20 per second when five walk in a clump. The frost tower hardly hurts, yet every other tower nearby gets more shots.

One rule prevents a broken game: slows do not stack. Two frost towers on one enemy refresh the timer, they do not make it 80 percent slower.

For upgrades, give each tower two more levels. A fair price is the tower's own cost again for 70 percent more damage. A second tower is then slightly better value, but it uses a cell, and good cells run out.

Descriptions to copy

A tower defense game for phones, in portrait. Enemies walk a winding road from the top of an 8 by 12 grid to my base at the bottom. I tap an empty cell beside the road to build one of three towers: arrow (50 gold), cannon with splash damage (80) or frost that slows (60). Each enemy killed pays gold. I start with 100 gold and 20 lives, and an enemy that reaches the base costs one life. Ten waves, each stronger than the last.

A browser tower defense on an open field of 16 by 10 cells. Enemies enter on the left and take the shortest route to the exit on the right. My towers are walls, so I shape the maze, but a tower that would block the route completely is refused. Two towers: a fast gun and a slow cannon with splash damage. Kills pay gold and towers sell for 70 percent. 20 lives, 15 waves, each with more health. Build with the mouse or a finger.

Waves are a table

A wave is a row of numbers: which enemy, how many, how much health, how fast, how far apart and what each one pays. Ask for the waves to be kept as a table. A balance change is then "raise the health in wave 6 to 70" and nothing else moves. It is the same idea as levels kept as data.

WaveEnemyCountHealthCells per secondSeconds apartBounty each
1Walker8301.01.25
5Runner10421.80.86
7Swarm24241.20.43
10Boss11,0000.6none100

Each enemy kind asks a question. Runners punish a defence without a slow. A swarm punishes one without splash. The boss punishes one without strong single-target damage.

For the difficulty per wave, raise the total health (count times health) by 15 to 25 percent each wave, and make the wave after a new enemy kind a little easier so the player can adjust.

Check wave 1 by hand. Its total health is 240. An arrow tower does 10 damage per second and has the wave in range for about 14 seconds, so roughly 140 damage. Two arrow towers, which is what 100 gold buys, just clear it. If sensible placement with the starting gold cannot beat wave 1, the opening is broken.

Gold: bounty, cost and sell value

  • Bounty. A full wave should pay for about one new tower or one upgrade. Wave 1 pays 8 times 5, so 40 gold, nearly an arrow tower.
  • Growth. Enemy health must rise a little faster than income. If gold wins that race, the map is full by wave 6 and nothing is a choice any more.
  • Sell value. 70 percent is a fair default. 50 percent punishes a slip of the finger. A full refund until the next wave starts is a kind extra.
  • Starting gold. Enough for two cheap towers, not three.

Who a tower shoots

Targeting decides whether towers look clever or foolish.

  • First: the enemy furthest along the road. This is the right default.
  • Strongest: the enemy with the most health. Good for arrow towers when a boss walks in a crowd.
  • Closest: the enemy nearest the tower. It wastes shots on new arrivals while others slip out.

"First" has to mean distance travelled along the road, not position on the screen. On a winding road the enemy lowest on the screen is often not the one nearest the exit. A frost tower should prefer an enemy that is not already slowed. And let the player tap a tower to switch between first and strongest.

Keeping it readable on a phone

  • Cells must fit a fingertip. In portrait that means about 8 columns.
  • Tap a cell, then pick from three buttons at the bottom. Dragging a tower hides the target cell under the finger.
  • Show the range circle before the purchase is confirmed, and again when a tower is selected.
  • Put a health bar over each enemy, and give each kind its own shape, not only its own colour.

The first version uses plain shapes and emoji. Your own towers and enemies can come later, as explained in add your own pictures and sound effects. If you want a mouse and a wide field, make it a browser game.

Requests to send after a playthrough

Wave 4 cannot be beaten with the gold I have by then. Lower its enemy health by 20 percent.

Towers shoot the nearest enemy. Make them target the enemy furthest along the road, and let me tap a tower to switch to strongest.

Show the range circle when I pick a cell, before I pay.

Two frost towers freeze enemies almost completely. Slows must not stack, only refresh.

Let me sell a tower for 70 percent, and for the full price if no wave has started since I built it.

Add a Start wave button and a double-speed button, and show what the next wave contains.

Start small: one map, ten waves

One map, three towers and ten waves is about ten minutes of play, which is enough to learn whether placement matters. If one strategy always wins, fix the towers before adding content.

Build the first map

Open the builder and paste the first description to get a road, three towers and ten waves to test.

Frequently asked

How many towers should a first tower defense game have?

Three is enough: one that hits a single enemy hard, one that damages a group and one that slows. Each answers a different kind of wave, which is what gives the player a decision to make.

Is a fixed path or a maze better for a first version?

A fixed path. Every enemy walks the same distance, so waves are easier to balance and the screen is easier to read. A maze needs route finding and a rule that refuses towers which block the exit.

How much should towers sell for?

Around 70 percent of what was paid is a fair default. Half feels harsh on a small screen where a tower is easily placed on the wrong cell, and a full refund removes the cost of a bad decision.

How fast should enemy health grow from wave to wave?

Raise the total health of a wave by roughly 15 to 25 percent each time, a little faster than the gold the player earns. If gold grows faster than health, the map fills with towers and the choices disappear.

Can a tower defense game be played on a phone?

Yes. Use a portrait grid about 8 cells wide, tap a cell to build, and show range circles and health bars. It can also be made as a browser game played with a mouse.

Build it now — free to start

Type the idea, sign in, and the agent builds it in your browser. Change anything by describing it.

Open the builder ›