Elematter turns tower defense into a question of matching. Every enemy belongs to one of four elements, and every tower you build does too, so the smart move is usually the right element rather than the biggest gun. It was written by Jack Rugile for the 2014 js13kGames contest, and the whole game fits in 13 kilobytes.
A round from start to finish
You begin with 500 fragments, the game’s currency, and 13 lives. Click a gray square next to the road and a small menu offers four towers. Earth is the cheapest at 200, Air and Fire cost 250, and Water costs 300. Hovering over each one shows its damage, range and rate of fire.
Press Play and enemies walk in from the left along a long, folding road. Each one that reaches the far end removes a life. Kills pay fragments, and the payout rises slightly in later waves. You can upgrade any tower twice, and a white marker appears on it once you can afford the next level.
The run has twenty waves. Waves 5, 10, 15 and 20 are bosses, one per element, and they come in the order Earth, Water, Air, Fire.
Elematter Controls
| Action | Mouse | Touch |
|---|---|---|
| Open the build menu | Click any empty gray square beside the path | Tap an empty square |
| Build a tower | Click Earth, Water, Air or Fire in the menu (hover to see its stats) | Tap the element |
| Upgrade or reclaim a tower | Click the tower, then the upgrade or reclaim button | Tap the tower, then the button |
| Start or pause the game | Click Play at the top | Tap Play |
| Change game speed | Click x1, x2 or x3 | Tap x1, x2 or x3 |
| Send the next wave early for bonus fragments | Click Send Next at the bottom right | Tap Send Next |
Thinking in counters
The heart of Elematter is a four-way loop, a bigger version of rock-paper-scissors. Fire beats Earth, Earth beats Air, Air beats Water and Water beats Fire. The bar at the bottom tells you how many enemies of each element the next wave holds, so you always have the data you need.
That makes each wave a small budgeting problem. If the next group is eight Earth and three Air, a Fire tower earns its 50 percent bonus on most of the targets. Spending 250 on the wrong element is like paying full price for two thirds of a tower.
Plans that hold up
- Start with two Fire towers. The first wave is all Earth and the second is mostly Earth, so Fire pays back at once.
- Build a boss counter one wave early. Have a strong Fire tower for the Earth boss, then Air for Water, Earth for Air and Water for Fire.
- Use Air inside curves. It has the longest reach, so a spot inside a bend can cover several lanes of road.
- Give Water a straight stretch. Its shots slow enemies and pick random targets, spreading that slow across a whole crowd.
- Send waves early only when you are comfortable. The Send Next bonus is largest right after a wave begins and shrinks as you wait.
Before you start
The x2 and x3 speed buttons shorten the quiet stretches. Taps work for every button, but stats appear on hover, so a mouse is easier. If you like building defenses, try Hex Formation for hexagon placement or PoliGuard for an endless mode.
Tested and updated:













