towerdef/e2e/scenarios
Claude b4ae6cb57d Difficulty picker (Easy/Normal/Hard) and a balance pass
Difficulty:
- TD.DIFFICULTIES (starting credits, lives, enemy hp/shield, kill reward), validated
  create-room / newgame option, state carries it; solo menu picker and co-op lobby
  picker (44px segmented control, reachable on every layout), HUD/room/end-screen
  labels, best-wave record per map AND difficulty (Normal keeps the legacy key),
  Play again keeps the running game's difficulty for host and guest

Balance (12 bot runs, deterministic, 48/48 games replay identically in QA):
- Normal ~71% bot wins at wave 30 (was 94%), Easy 100%, Hard 25% on open
- credits tamed: reward growth 3% -> 2% per wave, clear bonus 10+2n -> 10+n, hp scaling
  eased, Rootkit pays 60 (was 100) but is tougher, flyers slower; unspent credits at
  wave 30: 1309 -> 335
- IDS Sniper is now a slow heavy hitter (essential, no longer sufficient: IDS-only
  dies by wave 7); Mortar, Arc and Filter buffed
- Orbital Uplink price step per owned unit 30% (buy and upgrade)
- remaining imbalances documented in docs/BALANCE.md

Tests: difficulty (19) and balance (8) unit suites, 14-difficulty e2e, layout matrix
reachability of the picker. 156 unit tests, 17 e2e scenarios.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tb8pW2KAN4oFkh1aK1BfD8
2026-10-10 23:41:21 +00:00
..
01-smoke.js Add co-op server, deploy docs, e2e suite and wire in the music tracks 2026-10-09 19:57:27 +00:00
02-touch.js Add co-op server, deploy docs, e2e suite and wire in the music tracks 2026-10-09 19:57:27 +00:00
03-endflow.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
04-coop.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
05-layout-matrix.js Difficulty picker (Easy/Normal/Hard) and a balance pass 2026-10-10 23:41:21 +00:00
06-select-sell.js Fix: placed Firewalls can be selected and sold again 2026-10-10 15:26:49 +00:00
07-ui-info-stable.js Phone UI and touch precision overhaul, proxy fixes, Orbital Uplink, four new maps 2026-10-10 18:03:24 +00:00
08-ui-states.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
09-a11y.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
09-audio.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
09-touch-precision.js Phone UI and touch precision overhaul, proxy fixes, Orbital Uplink, four new maps 2026-10-10 18:03:24 +00:00
10-content.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
10-gallery.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
11-coop-chaos.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
12-session-ui.js Co-op robustness, audio/a11y, new towers and enemies, Uplink rebalance 2026-10-10 21:18:43 +00:00
13-uplink-price.js Difficulty picker (Easy/Normal/Hard) and a balance pass 2026-10-10 23:41:21 +00:00
14-difficulty.js Difficulty picker (Easy/Normal/Hard) and a balance pass 2026-10-10 23:41:21 +00:00