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
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user