Commit Graph
29 Commits
Author SHA1 Message Date
hermes 4e873773fe Session 18: Prestige Progress Bar (live visual progress toward next Stellar Essence) 2026-08-25 10:33:27 +00:00
hermes b9068e2029 Session 17: Sound Toggle (mute/unmute with persistence) Added 2026-08-25 02:17:50 +00:00
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 44f55f0d24 Merge branch 'main' of git.obahan.xyz:lullu/idle-game 2026-08-24 09:43:52 +00:00
hermes 42b6f30d5b Add Session 15 test: Buy Max Prestige Upgrades (22 checks + catches essence-spend bug) 2026-08-24 09:43:45 +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 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 e734a6a4a7 Add Golden Starbloom headless test (Session 11) 2026-08-23 00:25:01 +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 eb50aa259d Merge: Incorporate Session 2 statistics panel feature 2026-08-19 11:19:57 +00:00
hermes b1b97fedc8 Fix: Remove duplicate journal, update cron prompt to append sessions 2026-08-19 11:19:32 +00:00
Hermes Agent 1df8bd9dd6 Merge remote changes, keep local Statistics Panel feature 2026-08-19 05:21:49 +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
hermes a20f9d342c Initial commit: Cosmic Garden idle game foundation
- Complete game architecture with modular JS structure
- 12 buildings across 4 tiers with scaling costs
- 15+ upgrades with requirements and bonuses
- 20 achievements to unlock
- Auto-save system with offline progress (50% efficiency)
- Export/Import save functionality
- Responsive dark-themed UI with cosmic aesthetic
- Floating text animations and notification system
2026-08-18 21:03:04 +00:00