fertig-classic-games/data
Brian Fertig 08d23f9613 refactor: replace stage clear targets with clear line boundary mechanic
Restructure Tetris Attack Stage Clear from "clear all target panels" to a
multi-stage round system with a sliding boundary line.

Gameplay changes:
- Each character now has 5 stages instead of a single match
- A CLEAR line appears after a set number of rows rise, then rides the
  stack upward; the objective is to clear everything above it
- Clearing a stage advances to the next: same board, faster speed, fresh line
- Stage progress is saved to localStorage; characters unlock sequentially
- Added a stage select screen with progress squares per character

Logic changes:
- Replaced `targetsTotal` with `clearLine` tracking and `countAboveLine`
- Added `advanceStage()` to resume play on the same stack one speed level higher
- Win condition now checks `countAboveLine() === 0` instead of target count
- Removed `target` flag from panels; panels below the line are irrelevant
- Continuous speed ramp via fractional `speed` per stage

UI changes:
- Clear line drawn as a pulsing bar with "◀ CLEAR" label outside the board
- "CLEAR LINE!" announcement on appearance, "STAGE N CLEAR!" banner on win
- HUD shows stage number instead of panel count
- Game over offers "Retry Stage", "Stage Select", or "Menu"

Asset changes:
- Backgrounds renamed to `background-{hero}-r{stage}.png` (5 per character)
- Lazy-load backgrounds per round instead of preloading all 30 images
- Updated tetrisattack.json with `stagesPerRound`, `stageSpeedStep`, and
  per-character `clearLineRows`

Tests:
- Rewrote stage clear soak tests for the new mechanic
- Added stage round progression, speed ramp, and board preservation tests
2026-07-21 10:00:09 -06:00
..
crosswords
…
wordlists
…
advancewars-artwork.json feat(advancewars): add HP text display to battle animations and procedural cursor 2026-07-19 19:04:14 -06:00
advancewars-campaign.json
…
advancewars-rules.json feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
adventure-music.json
…
arcadedark-music.json
…
balatro-artwork.json
…
blockfighter.json
…
bookwork.json
…
card-backs.json
…
civilization-artwork.json
…
civilization-rules.json
…
colorado-defense-cities.json
…
colored-playfields.json
…
dotlink.json
…
dungeonboss-artwork.json
…
hacker-music.json
…
jewelquest.json
…
jumble-riddles.json
…
jumble.json
…
katamino.json
…
music.json
…
nintendo-music.json
…
opponents.json
…
playfields.json
…
puddingmonsters.json
…
rushhour.json
…
shift-artwork.json
…
slots-artwork.json
…
spireclimb-artwork.json
…
star-control-ships.json
…
superkart-artwork.json
…
superkart-racers.json
…
superkart-rules.json
…
swdbg-artwork.json
…
swdbg-cards.json
…
tetrisattack-artwork.json feat: enhance Advance Wars replay HP display and terrain rendering, add Tetris Attack host backgrounds 2026-07-20 23:20:58 -06:00
tetrisattack-puzzles.json feat: add Tetris Attack (Panel de Pon) with endless, stage clear, and puzzle modes 2026-07-20 00:04:26 -06:00
tetrisattack.json refactor: replace stage clear targets with clear line boundary mechanic 2026-07-21 10:00:09 -06:00
zuma.json
…