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
- 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.
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.
- 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