INSTRUCTIONS

Prevent the symbol enemies from reaching the goal: Build weapons along the path, defeat each wave, and survive the entire level. Every enemy that leaks through costs lives; when you hit zero lives, the game is lost.

Title Screen and Settings

Playfield and Indicators

The status bar is at the top, with the playfield and path beneath it. Enemies move from the starting point to the destination; both look identical, and for each wave, a roll determines which side they emerge from. Starting from Level 2 and in the final third of the waves, both sides attack simultaneously.

In-Game Controls

Weapons

Each weapon has 3 tiers (thin, double, or filled inner symbol). Costs are shown in the weapon bar; upgrades also have fixed prices. When firing, a red pixel flashes briefly in the center of the weapon.

Enemies and Resistances

There are thirteen enemy shapes. Two special cases:

Not all enemies take the same damage from each weapon (percentage of standard damage):

If you only build one type of weapon, you will eventually run into enemies that resist it.

Tips, Scoring, and Saving

Scoring: Kill = 10 × enemy’s gold value, +100 per wave, plus an end-of-level bonus. If you clear a level without losing a single life, you get +500 points and 50 extra gold at the start of the next level. If your score makes it into the top 8, you enter 3 letters; the Hall of Fame displays name, score, seed, and level.

Saving: After clearing a level, press S = save (slot 1–3) or SPACE = continue. Load saves on the title screen using L. After a defeat, SPACE takes you to the name entry screen (if you hit a top 8 score) and then back to the title screen.

Behind the Scenes

The game is mostly hand-coded and the graphics were drawn by hand. However, AI was used: specifically, I had ChatGPT generate all the audio sequences. Everything I tried making myself was completely unusable.

A level is generated in several steps, with each step being verified. If one fails, the program simply moves on to the next seed.

  1. Seed and Level Number
    The seed is a number that determines the entire game. Combined with the level number, it produces a starting value for the pseudo-random generator. The same seed and level number will always yield the exact same level. This makes it possible to share specific levels via their seed.
  2. The Path
    First, a path is laid out. It starts at the left edge, runs in horizontal segments to the right, shifts rows along the way, and finishes at the goal. The path only turns at 90-degree angles and never crosses itself.
  3. Path Validation
    If the path is too short or too long, it gets discarded. It is also rejected if it has gaps or doesn’t leave enough adjacent free tiles for building. The generator will then try the next seed until one works.
  4. Obstacles
    In later levels, more unbuildable obstacle tiles are added. There are only a few early on. After placing them, the game checks whether enough buildable tiles remain.
  5. Credits and Lives
    Credits and lives are set for the level. Credits increase from level to level, while lives decrease slightly. The selected difficulty and starting gold apply on top of that.
  6. Waves
    The number of waves scales with the level, with a bit of randomness thrown in. The difficulty of each wave scales based on the credit budget you could potentially earn up to that point. The opening waves are easy, while the final wave of a level is significantly tougher. In higher levels, the difficulty curve ramps up more sharply. Which enemies spawn in a wave depends on their position in the sequence. The final wave contains a boss.

Why do it this way?
The waves are balanced so that you can afford a viable defense with the credits you’re able to earn. The generator calculates this in advance. As a result, every level is beatable, even though it’s procedurally generated. Well, that’s the theory, anyway.