Fix: placed Firewalls can be selected and sold again
renderInfo assumed every tower has three levels; walls have one, so selecting a wall threw. Use each tower's own level count and add an e2e scenario that selects, upgrades, retargets and sells every kind of tower. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tb8pW2KAN4oFkh1aK1BfD8
This commit is contained in:
parent
72c49eee1f
commit
10bd6f1b04
4 changed files with 57 additions and 13 deletions
|
|
@ -14,9 +14,8 @@ a decision.
|
|||
partner cursors and map pings. Needs the small Node server in this repo.
|
||||
* No build step, no framework, no external requests. Vanilla JS + canvas.
|
||||
|
||||
> **Status:** playable, but a review pass found bugs that are not fixed yet (for example, a placed Firewall cannot be
|
||||
> sold because selecting it throws). The full list, balance analysis and the plan for the next session are in
|
||||
> [docs/NEXT.md](docs/NEXT.md).
|
||||
> **Status:** playable and playtested on desktop and phones. A review pass found more polish issues (mostly phone
|
||||
> layout and touch precision) that are being worked through; see [docs/NEXT.md](docs/NEXT.md).
|
||||
|
||||
## Run it
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue