Commit Graph
19 Commits
Author SHA1 Message Date
hermes cc1fa6bc4d Session 16: Global 'Buy All Buildings' bulk-buy feature Added
Adds a global Buy All button to the Buildings panel that purchases as many
of every building type the player can afford at once, bringing Plants in line
with the Upgrades (Buy All) and Prestige (Buy Max) panels.

- game.js: Game.buyAllBuildings() loops buyMaxBuilding() per building type
- ui.js: UI.updateBuyAllBuildings() shows/hides + enables/disables live each tick
- index.html: Buy All button in Buildings panel header (reuses .upgrades-header/.buy-all-btn)
- Added headless test buy-all-buildings-test.mjs (31/31 pass); all existing suites green
2026-08-24 18:00:27 +00:00
hermes 936f7fc4e8 Session 15: Buy Max Prestige Upgrades (bulk-buy for prestige upgrades) + fix missing Stellar Essence spend 2026-08-24 09:43:38 +00:00
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
lullu b532f5a15c fixed time of the day in journal 2026-08-23 21:00:45 +02: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 1b9932391c Session 12: Update dev journal with Save Slot System entry 2026-08-23 09:02:08 +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 2cee2c8b99 Session 9: Achievement Progress Tracking in Stats Panel
Added Next Achievement section to Statistics panel with progress bar.
Tracks all 30 achievements across click, stardust, building, production,
prestige, click power, and time categories. Shows closest unachieved
milestone with percentage progress updating every tick.
2026-08-21 13:55:30 +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 ba53d3b5c8 Session 7: Mobile touch optimizations and click button visual polish 2026-08-21 05:49:35 +00:00
hermes e7c9e677f6 Session 6: Achievement Expansion - Added 10 new achievements (prestige, building milestones, click power, time-based) 2026-08-20 21:45:55 +00:00
hermes 3ee33ee43f Session 5: Prestige System with Stellar Essence 2026-08-20 13:43:23 +00:00
hermes f18ef5c396 Session 4: Sound effects system with Web Audio API 2026-08-20 05:35:16 +00:00
Hermes Agent 0b72673961 Session 3: Merge remote changes and add particle effects system 2026-08-19 13:27:03 +00:00
Hermes Agent 42adcdaa87 Session 1: Particle effects system with click, building, and achievement visual feedback 2026-08-19 13:26:07 +00:00
lullu e185188753 fixed correct time of the on journal 2026-08-19 13:24:30 +02:00
hermes 8a6da0b973 Session 2: Add Statistics Panel feature 2026-08-19 11:21:08 +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