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