| 1 | # TD |
| 2 | |
| 3 | A simple, randomly generated, tower defense game. |
| 4 | |
| 5 | Click on a turret's name in the shop to begin purchasing, then click on a tile |
| 6 | to place it there. Press q to abort the purchase. Click on a turret (that has |
| 7 | already been placed) to open the upgrade menu. Click on the info button to see |
| 8 | the turret's stats. Buttons (in any menu) can be clicked on if they are |
| 9 | highlighted. Otherwise, they cannot be clicked on. Space to pause, any to |
| 10 | resume. q to quit. |
| 11 | |
| 12 | Start by purchasing a turret and placing it on the map such that it is in range |
| 13 | of a path tile. Spikes may only be placed on path tiles and will run out after a |
| 14 | certain number of enemies run over them. When an enemy is killed, cash is |
| 15 | rewarded and the score increases. Once enough cash is earned, a turret may be |
| 16 | upgraded from its upgrade menu. Otherwise, another turret can be purchased and |
| 17 | placed on the map. Certain turrets may deal splash damage to enemies so that one |
| 18 | attack will damage multiple enemies at once. After killing enough enemies, the |
| 19 | round is progressed and a new wave of enemies is spawned. As the rounds |
| 20 | progress, enemies will gain more health and move faster. |
| 21 | |
| 22 | # Config |
| 23 | |
| 24 | * `X`: Board width (integer) |
| 25 | * `Y`: Board height (integer) |
| 26 | * `SEED`: PRNG seed (integer) |
| 27 | * `DELAY`: The delay (in milliseconds) between game ticks (integer) |
| 28 | * `PATH_BENDS`: The number of bends in the path (integer) |
| 29 | * `ATTACK_ANIMATION_DELAY`: The delay (ms) to animate attacks (integer) |
| 30 | * `MAX_ENEMIES`: The maximum number of enemies in a round (integer) |
| 31 | * `MAX_TURRETS`: The maximum number of turrets allowed on the map (integer) |
| 32 | * `STARTING_CASH`: Amount of cash at the start of the game (integer) |
| 33 | * `STARTING_LIVES`: Amount of lives at the start of the game (integer) |
| 34 | * `STARTING_ROUND`: The round at which the game starts (integer) |
| 35 | |