Skip to content

Add a main menu, save slots, and a village campaign economy #12

Summary

  • Collapse the campaign to the single gate encounter, 'Their Hatred Takes Form', and remove the old three-level progression.
  • Add a title screen with New game, Load game, and How to fight; a new game starts by choosing Aislinn, Finella, or Atlanta.
  • Add honor and gold rewards: honor earned per Torment unit broken recruits the other heroines at the hall, while gold from kills and victories buys cards at the market.
  • Start each heroine with three of her five cards and sell the remaining two in the village market; cards can only be bought for heroines already in the party.
  • Add three localStorage save slots reachable from the title, village, and battle; mid-battle saves preserve shuffled decks and resume identically.
  • Extend the village curtain wall beyond the frame, rebuild houses from finer half-unit modules, and increase spacing between village buildings.
  • Keep the market and hall as markers on existing village pieces rather than adding castle-kit buildings.
  • Update the README, screenshot scenarios, and session tests for the new flow.

Testing

  • bun test — 49 tests pass, including new coverage for rewards, recruiting, market purchases, and save/load.
  • bun run check — clean.
  • Playwright end-to-end run: choose a starter, win the battle, recruit, buy, save, reload the page, load the save, and save and resume mid-battle; no page errors.
  • Reviewed screenshots of the title, heroine picker, village, market, hall, save panel, battle, result, and resumed battle.
  • Not run: balance playtesting for a solo heroine against five enemies.

Sign in to comment on this pull request.