Commit Graph
7 Commits
Author SHA1 Message Date
hermes 34074b8e65 Session 14: Buy All Upgrades (bulk-buy for upgrades) + empty-slot boost leak fix
- Added Game.buyAllUpgrades(): buys every affordable upgrade at once,
  respecting per-upgrade requirements and looping until nothing remains.
- Added a 'Buy All' button to the Upgrades tab header; UI.updateBuyAllButton()
  shows/hides & enables/disables it live each tick based on affordability.
- Fixed empty-slot branch of switchSlot(): added productionBoostUntil: 0 so a
  temporary golden-bloom boost cannot leak into a fresh slot.
- Added .upgrades-header / .buy-all-btn CSS (gold accent theme).

Verified: headless test buy-all-upgrades-test.mjs 24/24 pass; existing
golden-bloom (22/22) and buy-max (6/6) tests re-run clean, no regressions.
2026-08-24 01:30:10 +00:00
hermes 40b85f5707 Session 13: Save Slot Preview (footer shows each slot's stardust, buildings, achievements, last-saved; hover to preview) 2026-08-23 17:10:56 +00:00
hermes 57904f80e2 Session 12: Save Slot System (3 slots, autosave toggle, cross-slot import/export) + fix goldenBlooms field missing from reset()/switchSlot empty-state 2026-08-23 09:01:17 +00:00
hermes 26ee47c2db Session 11: Golden Starbloom random event (clickable bonus + production boost) 2026-08-23 00:24:53 +00:00
hermes 478b9741a7 Session 10: Buy Max bulk-buy feature for buildings 2026-08-22 16:04:56 +00:00
hermes 92b93b6197 Session 8: Fix broken prestige system - load prestige scripts, fix particles.js parse error, add prestige tab UI 2026-08-21 09:40:31 +00:00
Hermes Agent dbf1cdf35d Add Statistics Panel feature
- Recreated full game foundation from previous session
- Added Statistics tab with detailed game metrics:
  * Total Stardust Earned
  * Current Production Rate (✨/sec)
  * Total Clicks
  * Click Power
  * Time Played (auto-formatted)
  * Buildings Owned
  * Upgrades Purchased
  * Achievements Unlocked
  * Game Progress bar
- Fixed global production bonus calculation in game.js
- Added responsive CSS for stats panel

Files added: js/stats.js, dev-journal.md, README.md, JOURNAL.md
2026-08-19 05:20:41 +00:00