step 10.17: done
This commit is contained in:
+10
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
## 1. Where we are
|
||||
- **Last completed step:** 10.17 — Leaderboard UI built (`leaderboard.html` + `leaderboard.js`), nav links (Game, Shop, Leaderboard, Logout) added to all logged-in pages (game.html, shop.html, create-hero.html, leaderboard.html)
|
||||
- **Next step:** Phase 10.18 — (next)
|
||||
- **Next step:** Phase 10.18 — Balance pass via NEW migration (scripts/sim-balance.js + tune monster stats/XP)
|
||||
- **Updated:** 2026-10-23
|
||||
- **Was the last session cut off mid-task?** No
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
- `GET /api/zones` documented in API.md but not implemented.
|
||||
- Mobile nav uses emoji icons (⚔️ 🏕️ 🎒) — verify they render acceptably on all platforms.
|
||||
- Characters start with 50g default (DB constraint) — tests must account for this baseline.
|
||||
- Level-1 heroes of every class win 100% of Meadows fights (design target ≈80%) — needs balance tuning in step 10.18.
|
||||
|
||||
## 5. Decisions & deviations from the docs
|
||||
- D-004..D-007, D-014..D-021 in `docs/DECISIONS.md`
|
||||
@@ -94,7 +95,11 @@
|
||||
- **10.17:** Hero names in the leaderboard are rendered dynamically by JS, so tests should check the JS code pattern (not static HTML) for profile link generation.
|
||||
|
||||
## 7. Next-step briefing
|
||||
- **Next step: 10.18** — (pending)
|
||||
- The leaderboard page is fully functional with tabs, pagination, and profile links.
|
||||
- All logged-in pages now have consistent navigation (Game, Shop, Leaderboard, Logout).
|
||||
- The link-checker test passes with no exceptions.
|
||||
- **Next step: 10.18** — Balance pass via NEW migration
|
||||
- Create `scripts/sim-balance.js`: seeded simulation (fixed rng seed), creates hero per class, auto-allocates points, sells loot, rests/uses potions, prints win rates and hunts-to-level metrics.
|
||||
- Tune monster stats and XP via a NEW migration until all targets hold for all three classes:
|
||||
- Level-1 vs Meadows: 70–90% wins. Level-1 vs Crags: ≤15% wins.
|
||||
- Level-5 vs Forest: 50–75% wins. Level-10 vs Crags: 50–75% wins.
|
||||
- Hunts L1→5: 40–70. L1→10: 150–300.
|
||||
- No class >15pp above another in any zone.
|
||||
- Add test asserting Meadows level-1 win rate within 70–90% with fixed seed.
|
||||
|
||||
Reference in New Issue
Block a user