34074b8e65c526dfa7458a13517d8caf5a4ad7f9
- 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.
Cosmic Garden 🌌🌱
A space gardening idle game built with vanilla HTML, CSS, and JavaScript.
How to Play
- Open
index.htmlin your browser - Click the "Collect Stardust" button to earn stardust
- Buy plants to auto-generate stardust
- Purchase upgrades to boost production
- 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
Languages
JavaScript
81%
CSS
13.9%
HTML
5.1%