

Awesome Tanks
Wreck enemy tanks across 15 levels in Awesome Tanks. WASD to drive, mouse to fire, and upgrade weapons, armor and speed with coins.
Awesome Tanks is a top-down tank shooter built on Phaser with fifteen campaign levels, six weapons and four performance upgrades. The build keeps its economy in a single settings table and its maps as plain text grids, so the prices, ammo caps and enemy health values below are read straight from the shipped code.
The build stores each level as a text grid, one character per cell, with a terrain type attached. Fifteen of those grids are the campaign, numbered Level 1 to Level 15. The terrain alternates between grass and snow, and the grid sizes are not uniform: Level 1 is a 7 by 17 corridor, Level 9 is 25 rows tall, and Level 13 is a 9 by 45 strip that plays as a long flank. After the campaign the same file holds practice grids for each enemy tank type, each turret type and each boss, plus a fog test and two performance test maps.
| Level | Terrain | Grid size |
|---|---|---|
| 1 | Grass | 7 by 17 |
| 2 | Snow | 11 by 11 |
| 5 | Grass | 19 by 15 |
| 9 | Grass | 25 by 15 |
| 10 | Snow | 20 by 18 |
| 13 | Grass | 9 by 45 |
| 15 | Grass | 19 by 19 |
The grid legend uses a wall block, a crate marker, floor tiles and a player marker, with digits standing in for enemy and turret types. Because the maps are literal text, a route through a level is a route through the grid rather than a curved path: the tank moves cell to cell, and a one cell gap is a real gap rather than a visual one.
Arrow keys and WASD are both bound to the same four movement actions, so either hand position works. Firing is pointer driven rather than key driven: the turret follows the mouse or the touch point, and the trigger is the same pointer. The number keys map directly onto the six weapon slots, which matters because cycling with Space, Q or E walks the list in order and can overshoot the weapon you wanted mid-fight.
Two tutorial flags in the save data record whether the game has already shown you movement and shooting help. Those are one-time overlays, and the save keeps them separate from level progress, which is why a new save on the same browser can still skip the movement tutorial if the flag is already set.
Prices are per tier, and every weapon has four tiers except the minigun, whose first tier is free. Reading the arrays in order shows the shape of the economy: the minigun climbs 350, 470, 1100, while the shotgun starts at 2750 and then drops to 1400, 2000 and 2950. That sequence is not a mistake. The first number is the unlock price and the following three are the upgrade prices once the weapon is yours.
| Weapon | Unlock | Upgrades | Damage |
|---|---|---|---|
| Minigun | Free | 350 / 470 / 1100 | 10 per shot, 4 shots per second |
| Shotgun | 2750 | 1400 / 2000 / 2950 | 15 per pellet, 6 pellets |
| Ricochet | 8000 | 4000 / 6300 / 9100 | Bounces off walls |
| Cannon | 16000 | 8000 / 12000 / 18000 | 100 per shell |
| Rockets | 16000 | 8000 / 12000 / 18000 | 180 per rocket |
| Laser | 28000 | 14000 / 21000 / 31000 | 6 per tick, continuous beam |
Ammunition is a separate economy from the weapon itself. Ammo prices run 50 for shotgun shells, 100 for ricochet rounds, 200 for cannon shells and rockets, and 300 for laser charge. A purchase adds 21 shotgun shells, 10 ricochet rounds, 21 cannon shells, 9 rockets or 300 laser units, and the caps sit at 105, 50, 105, 45 and 1500 respectively. The laser is the only weapon whose ammo model is a pool rather than a magazine, which is why its cap is an order of magnitude larger.
Armour, speed, turret and sight are each bought three times, on top of a base value. The arrays are explicit: armour health steps 500, 1000, 2000, 4000, speed steps 199.8, 219.6, 240, 259.8, turret rotation steps 3, 4, 5, 6, and sight splits into an angle and a distance, 45 to 180 degrees and 200 to 330 units.
| Upgrade | Step values | Prices |
|---|---|---|
| Armour | 500 → 1000 → 2000 → 4000 | 3000 / 16000 / 28000 |
| Speed | 199.8 → 219.6 → 240 → 259.8 | 500 / 1000 / 1500 |
| Turret | 3 → 4 → 5 → 6 | 500 / 1000 / 1500 |
| Sight angle | 45° → 60° → 90° → 180° | 500 / 1500 / 3000 |
| Sight distance | 200 → 243 → 286 → 330 | 500 / 1500 / 3000 |
The price ladder makes the intended order obvious. Speed and turret are 500 for the first step, which is cheaper than a single shotgun unlock, while the fourth armour tier costs 28000 and more than doubles the third at 16000. Buying the first speed and turret step before a second weapon is the cheaper path to surviving the mid levels, because sight distance and sight angle are sold as one upgrade and both scale together.
Enemy tanks come in five colours and three boss variants. Each class sets a base health, a sight range that grows with the level index, and its own weapon. The sight values below are the base numbers before the level index adds eight units per level and the difficulty multiplier is applied.
| Enemy | Base health | Base sight | Weapon |
|---|---|---|---|
| Minigun tank | 40 | 170 | Minigun, 10 damage |
| Shotgun tank | 80 | 170 | Minigun, 10 damage |
| Cannon tank | 120 | 200 | Shotgun, 15 per pellet |
| Rockets tank | 160 | 230 | Cannon, 100 damage |
| Laser tank | 200 | 230 | Rockets, 180 damage |
| Shotgun boss | 800 | Source does not list | Laser, 6 per tick |
| Cannon boss | 1600 | Source does not list | Shotgun, 15 per pellet |
| Rockets boss | 3200 | Source does not list | Cannon, 100 damage |
The weapon column is the useful surprise. Higher tier enemies do not carry their own namesake weapon: the rockets tank fires cannon shells and the laser tank fires rockets. Only the shotgun boss keeps a matching weapon, and the cannon boss fires the shotgun. Health and sight scale, weapon assignment does not swap with them, which is why a rockets tank at long range hits like a cannon rather than like a rocket.
The save data is a single JSON blob under the local storage key AWESOME-TANKS. It tracks money, each weapon level and the ammo carried for each weapon, the four upgrade levels, the number of levels completed, the difficulty index, and a completed flag. Destroyed objects are counted separately: tanks, turrets, spawners, walls, coins, barrels and crates each have their own counter, which is what the achievement checks read.
| Achievement | Threshold |
|---|---|
| Hunter | 15 |
| Destroyer | 80 |
| Dodger | 15 |
| Treasurer | 35 |
| Ultra combo | 5 |
Money comes from three places in the readable code: coins picked up on the map, crates and barrels destroyed, and the completion payout for a level. Because crates and barrels feed both the coin count and the achievement counters, clearing them is worth more than the coins alone. The level select screen reads the completed count from the same blob, so a level only shows as cleared once the completed flag and the counter agree.
Fifteen campaign levels, numbered Level 1 to Level 15, alternating between grass and snow terrain.
The laser unlocks at 28000 and upgrades for 14000, 21000 and 31000. Ammo costs 300 per purchase and adds 300 units, with a cap of 1500.
Speed and turret both start at 500, which is cheaper than the first shotgun unlock at 2750. Armour jumps to 3000 for its first step, so it is a mid game purchase rather than a first one.
It starts at 500 with no armour upgrades and steps to 1000, 2000 and 4000 as you buy the three armour tiers.
None. The turret follows the mouse or touch point and the same pointer fires. Movement uses the arrow keys or WASD.
It pauses the game. The pause overlay is separate from the level select, so pausing does not advance or reset progress.
Yes. The game writes a JSON blob to local storage under the key AWESOME-TANKS, covering money, weapon tiers, ammo, upgrades and completed levels.










