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
2026-08-19 05:20:41 +00:00

Cosmic Garden 🌌🌱

A space gardening idle game built with vanilla HTML, CSS, and JavaScript.

How to Play

  1. Open index.html in your browser
  2. Click the "Collect Stardust" button to earn stardust
  3. Buy plants to auto-generate stardust
  4. Purchase upgrades to boost production
  5. Unlock achievements as you progress

Features

  • 12 Unique Plants across 4 tiers (Star Sprout → Void Fern)
  • 15+ Upgrades with requirements and bonuses
  • 20 Achievements to unlock
  • Core Mechanics: Click harvesting, auto-production, cost scaling (1.15x per level)
  • Save System: Auto-save every 30s, offline progress (50% efficiency), export/import
  • Statistics Panel: Track your progress with detailed metrics
  • UI: Dark cosmic theme with purple/gold accents, responsive layout, animations

Development

This project is being developed incrementally. Check dev-journal.md for the latest updates.

Current Version

  • Statistics panel added (2026-08-19)

Planned Features

  • Visual effects (particle effects on click)
  • Mobile touch optimizations
  • Prestige/reset system
  • Sound effects and music
  • Save game slot system

License

Private project - owned by lullu

S
Description
No description provided
Readme
424 KiB
Languages
JavaScript 81%
CSS 13.9%
HTML 5.1%