Beautiful CLI flower garden game - water flowers and watch them grow into stunning patterns!
Project description
🌺 Flower Garden CLI
Beautiful CLI flower garden game - water flowers and watch them grow into stunning patterns!
Transform your terminal into a magical garden where you can nurture 5 different types of flowers, each growing into unique mathematical patterns and fractals.
🌸 Features
-
5 Unique Flower Types: Each with distinct mathematical patterns
- 🌹 Spiral Rose - Fibonacci spirals with blooming petals
- 🌳 Fractal Tree - Recursive branching with leaves
- 🌺 Mandala Bloom - Geometric circular patterns
- 🌊 Wave Garden - Flowing sine wave patterns
- ⭐ Star Burst - Radiating star patterns
-
Growth System: 10 levels of growth for each flower
-
Persistent Save: Your garden state is automatically saved
-
Colorful Display: Beautiful terminal colors (with colorama)
-
Interactive Menu: Easy-to-use command interface
🚀 Quick Start
Install and run with a single command:
pip install flower-garden-cli
flower-garden
Alternative command:
garden
📦 Installation Methods
Method 1: pip install (Recommended)
# Install from PyPI (when published)
pip install flower-garden-cli
# Or install from GitHub
pip install git+https://github.com/bdavidzhang/flower-garden-cli.git
Method 2: Local Development
# Clone the repository
git clone https://github.com/bdavidzhang/flower-garden-cli.git
cd flower-garden-cli
# Install in development mode
pip install -e .
# Run the game
flower-garden
Method 3: Direct from Source
# Download and run directly
curl -O https://raw.githubusercontent.com/bdavidzhang/flower-garden-cli/main/flower_garden_cli/main.py
python main.py
🎮 How to Play
- Launch the game: Run
flower-gardenin your terminal - Choose an action: Select from the numbered menu options
- Water flowers: Watch them grow from seeds to beautiful patterns
- Enjoy the patterns: Each growth level reveals more complexity
- Save automatically: Your progress is saved between sessions
Menu Options:
1-5: Water individual flower types6: View your entire garden7: Water all flowers at once8: Reset garden (start over)9: Quit game
🎨 Flower Types Preview
🌹 Spiral Rose (Level 6) ⭐ Star burst (Level 4)
· ·
······· ·
✿❀✿❀✿···· · · ·
✿❀····✿···· · ✧ ·
······❀✿··· ✧ ✧ ✧
·······❀··· ✧✧✧
······❀❀····· ···✧✧✧★✧✧✧···
··········· ✧✧✧
··········· ✧ ✧ ✧
··········· · ✧ ·
········· · · ·
······· ·
· ·
🛠️ Development
Project Structure
flower-garden-cli/
├── flower_garden_cli/
│ ├── __init__.py
│ └── main.py
├── pyproject.toml
├── README.md
├── LICENSE
└── tests/
└── test_main.py
Local Development Setup
# Clone and setup
git clone https://github.com/bdavidzhang/flower-garden-cli.git
cd flower-garden-cli
# Create virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
# Format code
black flower_garden_cli/
📋 Requirements
- Python: 3.7 or higher
- Dependencies:
colorama(for colored terminal output)
- Platform: Cross-platform (Windows, macOS, Linux)
📄 License
MIT License - see LICENSE file for details.
🤝 Contributing
Contributions welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
🌟 Support
If you enjoy this project, please give it a ⭐ on GitHub!
Issues? Please report them here.
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-1.0.0.tar.gz.
File metadata
- Download URL: flower_garden_cli-1.0.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5f66181db10ed635caebd63b0ea0420024b309df4f4234a4f6489b0c8f02f5f
|
|
| MD5 |
fc3756147f48d759408935d03214c1a0
|
|
| BLAKE2b-256 |
d8b4806b24293530950348ab68b68c04849e7cc96ca5b8a54fd4b20c1dc4d6c6
|
File details
Details for the file flower_garden_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: flower_garden_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.0 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 |
e99b70df4baa324331da309fadb35f34933c9bb952dcf1051b3adfcbbdbdad9c
|
|
| MD5 |
f0d41e93a277c75da7a51b6045009d00
|
|
| BLAKE2b-256 |
b320db1955d194349382e876ab46c451ed74dd82fc0b78db9367f553da18e384
|