DEV Community

dtannen
dtannen

Posted on

Fully Automated Website Day 15: Amber Wall: First Defensive Tank for Rootline Defense

Command Garden is a website that builds itself — one feature per day, fully autonomously. No human writes the code. An AI pipeline proposes candidates, judges score them, and the winner gets implemented, tested, and shipped.

What shipped

Amber Wall is a new tank plant for Rootline Defense — a tile-holding wall that soaks sniper bolts and screens attackers instead of adding damage. Today's Hold the Line board is tuned so the previous roster can no longer clear: the wall is what buys time against Briar Snipers and Glass Rams, and it makes the canonical winning line readable before endless unlocks.

Candidates considered

  • Amber Wall: First Defensive Tank for Rootline Defense (score: 8.0) — Add a high-health, non-attacking wall plant that buys time, screens Briar Sniper fire, and satisfies Glass Ram lane-pressure rules so defense becomes a first-class tactic instead of “add more DPS.”
  • Cottonburr Mortar & Glass Bulwark — Rootline Defense's First Arc-Trajectory Contract (score: 7.5) — Ship the game's first lob-trajectory plant and first shield-bearing enemy, locked together by a projectile-level arc contract so "shoot over the top of a shield" becomes a durable, reusable counterplay axis in Rootline Defense.
  • Tactical Reinforcement: The Heart-Oak Update (score: 6.0) — Introducing the first high-health blocker plant and a "Shovel" mechanic for tactical board reconfiguration and sap recovery.

Winner

Amber Wall: First Defensive Tank for Rootline Defense with a score of 8.0

Selected as the highest-scoring candidate with an average score of 8.0 across 2 judge(s).

Technical spec

April 20, 2026 — Amber Wall & the Reusable Defender Role Contract

Amber Wall is Rootline Defense's first defensive tank plant and the
engine's first non-attacking combat role — a new role: "defender"
contract that sits alongside the existing attacker / support /
control roles. Amber Wall has high HP, does no damage, and occupies
a lane tile. Its value on the board is time: when a Briar Sniper
has a wall in its lane between the anchor and the rest of the player's
plants, the sniper targets the wall instead of the Sunroot or Bramble
Spear behind it, so the wall soaks bolts until it breaks. It also
counts as a combat defender for Glass Ram's requiredDefendersInLane
rule, so the player can satisfy the three-defender threshold without
committing three DPS slots. The role is shipped as a first-class
contract, not a "Thorn Vine with big HP and zero damage," so future
defenders inherit the same combat treatment for free.

Player outcome. Amber Wall lets the player answer pressure by
buying time instead of adding damage — the first verb in Rootline
Defense that is not about firing, chilling, or funding. The April 20
challenge ("Hold the Line") is authored so the April 19 roster cannot
clear it and the Amber Wall roster can.

Problem

After April 19 ("Petals in the Wind") shipped Pollen Puff and the
reusable splash projectile contract, Rootline Defense's combat
verbs are entirely offensive. Every plant in PLANT_DEFINITIONS
that participates in combat fires a projectile (Thorn Vine, Bramble
Spear, Pollen Puff), generates sap (Sunroot Bloom), or applies a
status effect (Frost Fern). There is no plant whose contribution is
holding a tile.

That gap shows up in three concrete ways in the current build:

  1. Briar Sniper has almost no counterplay on the existing roster. findSniperTarget in site/game/src/scenes/play.js:1239 treats only role === "attacker" plants as screeners (`if ((other.definition.role || "attacke

[Spec truncated — view full spec on the site]

What changed

April 20, 2026 — Build Summary

Shipped Amber Wall, Rootline Defense's first dedicated defender plant, plus
the reusable defender-role contract and the dated Hold the Line scenario
that makes the wall genuinely required.

What changed

  • site/game/src/config/plants.js adds amberWall with the published defender contract: high HP, no projectile, no sap pulse, and no attacker-side damage loop participation.
  • site/game/src/scenes/play.js teaches the runtime how defender-role plants interact with sniper targeting, ram lane thresholds, tutorial flow, challenge clear state, and endless unlock messaging.
  • site/game/src/main.js adds the defender-role branches for the Board Scout UI: the Wall badge, the Role: Defender label and detail rows on Amber Wall's card, and the updated Briar Sniper counterplay copy that now reads "plant an attacker or a defender/wall between sniper and target."
  • site/game/src/config/scenarios/2026-04-20.js authors the April 20 tutorial and challenge boards under the title Hold the Line.
  • site/game/src/config/scenarios.js registers April 20 as the live daily board.
  • site/game/assets-manifest.json includes the Amber Wall art entry so the roster uses a manifest-backed asset instead of procedural fallback rendering.

User-facing result

  • The game roster now includes Amber Wall with explicit defender-role copy.
  • Board Scout shows the wall card, its defender badge, and the new lane-reading context needed for the April 20 board.
  • The tutorial rolls into Hold the Line, where Amber Wall is the answer to sniper screening and wall-pressure timing that the previous roster could not solve cleanly.
  • Endless remains locked until the scripted challenge is cleared.

Published artifact bundle

The April 20 day bundle now exists in both artifact roots used by the site:

  • content/days/2026-04-20/
  • site/days/2026-04-20/

That restores the served day-detail page, the raw artifact links, and the
April 20 query and path-based day routes.


Command Garden ships one feature every day with zero human code. Follow along at commandgarden.com.

Top comments (0)