Beautiful CLI flower garden game - water flowers and watch them grow into stunning patterns!
Project description
Flower Garden CLI v2.0
A living, breathing terminal garden with weather, seasons, ecosystems, and achievements.
Grow 10 unique flowers with mathematical ASCII art patterns, watch butterflies visit, unlock achievements, and experience dynamic weather -- all from your terminal.
If you have uv installed:
uvx --from flower-garden-cli garden
What's New in v2.0
- 10 Flower Types -- 5 new Tier II flowers with unique patterns
- Weather & Seasons -- sun, rain, wind, mist, storms, and starry nights affect growth
- Ecosystem -- butterflies, bees, fireflies, ladybugs, hummingbirds, and dragonflies visit your garden
- 14 Achievements -- unlock milestones as you grow
- 3 Color Themes -- Garden, Midnight, and Sunset
- Dashboard UI -- compact two-column overview with stats bar
- Weather Growth Bonus -- storms give +3 bonus, rain gives +2
- Persistent Stats -- tracks total waterings, sessions, visitors, and more
Flowers
Tier I (Original)
| Flower | Pattern |
|---|---|
| Spiral Rose | Fibonacci spiral with layered petals |
| Fractal Tree | Recursive branching with blossoms |
| Mandala Bloom | Concentric geometric petal rings |
| Wave Garden | Layered sine waves with flower crests |
| Star Burst | Radiating star with pulsing rays |
Tier II (New in v2.0)
| Flower | Pattern |
|---|---|
| Crystal Lotus | Symmetric diamond facets |
| Phoenix Fern | Curling fronds that spiral like flames |
| Galaxy Orchid | Swirling spiral arms with nebula dust |
| Thunder Vine | Lightning-bolt vines with energy sparks |
| Aurora Lily | Flowing aurora bands with shimmer highlights |
Quick Start
pip install flower-garden-cli
flower-garden
Alternative command:
garden
Installation
pip (Recommended)
pip install flower-garden-cli
# Or from GitHub
pip install git+https://github.com/bdavidzhang/flower-garden-cli.git
Local Development
git clone https://github.com/bdavidzhang/flower-garden-cli.git
cd flower-garden-cli
pip install -e .
flower-garden
How to Play
- Launch with
flower-gardenorgarden - Pick a flower to water (1-10)
- Watch it grow with mathematical ASCII patterns
- Growth is boosted by weather (storms = +3, rain = +2)
- Attract wildlife as your garden grows
- Unlock achievements for milestones
- Switch themes with option 14
- Progress saves automatically between sessions
Menu
Water a Flower:
1-10 Water individual flowers (Tier I and II)
Garden:
11 View Full Garden (all patterns)
12 Water All Flowers
World:
13 Change Weather
14 Switch Theme (Garden / Midnight / Sunset)
Progress:
15 Achievements
16 Ecosystem
18 Reset Garden
0 Quit
Weather System
Weather changes based on real-world seasons and affects growth bonuses:
| Weather | Bonus | Description |
|---|---|---|
| Sunny | +1 | Warm sunshine |
| Rainy | +2 | Gentle rain nourishes flowers |
| Windy | +0 | Brisk wind sweeps through |
| Misty | +1 | Soft mist drifts through |
| Starry Night | +1 | Stars twinkle above |
| Stormy | +3 | Thunder and lightning |
Ecosystem
As your garden grows, creatures come to visit:
| Creature | Growth Needed |
|---|---|
| Ladybug | 5 |
| Bee | 10 |
| Butterfly | 15 |
| Firefly | 20 |
| Hummingbird | 30 |
| Dragonfly | 40 |
Achievements
14 achievements to unlock, including:
- First Drop -- Water your first flower
- Master Gardener -- Fully grow all 10 flowers
- Storm Chaser -- Water during a storm
- Butterfly Whisperer -- Attract 5 butterflies
- Century Garden -- Reach 100 total growth levels
Project Structure
flower-garden-cli/
flower_garden_cli/
__init__.py # Package init, version
main.py # Game loop, UI, FlowerGarden class
patterns.py # 10 mathematical pattern generators
colors.py # Color system, themes, gradients
weather.py # Weather and seasons engine
ecosystem.py # Creature spawning and movement
achievements.py # Achievement definitions and tracking
pyproject.toml
README.md
LICENSE
Dockerfile
Requirements
- Python: 3.7+
- Dependencies: colorama (>=0.4.0)
- Platform: Windows, macOS, Linux
License
MIT License - see LICENSE for details.
Contributing
Contributions welcome! Please open a Pull Request.
Grow your digital garden, one flower at a time
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flower_garden_cli-2.0.0.tar.gz.
File metadata
- Download URL: flower_garden_cli-2.0.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b9440607aa46a18de53e97789c032454cecb467cf45b85786af378eee4c0a1b
|
|
| MD5 |
e908ce002943400322cf13eca71120dc
|
|
| BLAKE2b-256 |
03f9cda768f3616e9c1a0f35b77a6ba1b89789ac880518d68b5e86e476962210
|
File details
Details for the file flower_garden_cli-2.0.0-py3-none-any.whl.
File metadata
- Download URL: flower_garden_cli-2.0.0-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
511337290813246c3a235078ae595e4ca8b5369b32e614cbd8253074a2e65506
|
|
| MD5 |
87d971432fd36cb0ba7afc8cfe0719c3
|
|
| BLAKE2b-256 |
8263e062240b3276806e46765e2943b3303f3bc0dd6e6f10448e1f9813f21ff1
|