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 feat(advance-wars): add unit progression system with mission-based unlocks 2026-07-19 10:55:18 -06:00
advancewars-rules.json feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
adventure-music.json feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
arcadedark-music.json feat: add per-game soundtracks for multiple games 2026-07-18 17:21:32 -06:00
balatro-artwork.json
blockfighter.json
bookwork.json
card-backs.json
civilization-artwork.json feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
civilization-rules.json feat(civilization): add battle sound effects for unit combat 2026-07-17 13:03:26 -06:00
colorado-defense-cities.json
colored-playfields.json
dotlink.json
dungeonboss-artwork.json
hacker-music.json feat: add per-game soundtracks for multiple games 2026-07-18 17:21:32 -06:00
jewelquest.json
jumble-riddles.json
jumble.json
katamino.json
music.json feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
nintendo-music.json feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
opponents.json feat(civ): add status log panel, event announcements, smooth camera pan, and city sprites 2026-07-16 13:48:39 -06:00
playfields.json
puddingmonsters.json
rushhour.json
shift-artwork.json
slots-artwork.json
spireclimb-artwork.json
star-control-ships.json refactor: improve Star Control ship rendering and ship picker UX 2026-07-15 11:45:08 -06:00
superkart-artwork.json feat: add per-game soundtrack system and Nintendo music for Super Kart 2026-07-18 16:53:49 -06:00
superkart-racers.json feat(superkart): add beach theme and AI rubber-banding 2026-07-17 23:45:46 -06:00
superkart-rules.json feat: add Super Kart themes, profile import/export, and Civilization spaceship notifications 2026-07-18 12:28:22 -06:00
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