Git Product home page Git Product logo

botany's Introduction

botany

Screencap

by Jake Funke - [email protected] - tilde.town/~curiouser - http://jakefunke.online/

A command line, realtime, community plant buddy.

You've been given a seed that will grow into a beautiful plant. Check in and water your plant every 24h to keep it growing. 5 days without water = death. Your plant depends on you to live!

"We do not 'come into' this world; we come out of it, as leaves from a tree." - Alan Watts

getting started

botany is designed for unix-based systems. Clone into a local directory using $ git clone https://github.com/jifunks/botany.git.

Run with $ python botany.py.

Note - botany.py must initially be run by the user who cloned/unzipped botany.py - this initalizes the shared data file permissions.

Water your seed to get started. You can come and go as you please and your plant continues to grow.

Make sure to come back and water every 24 hours or your plant won't grow.

If your plant goes 5 days without water, it will die!

features

  • Curses-based menu system, optimized for 80x24 terminal
  • 20+ Species of plants w/ ASCII art for each
  • Persistent aging system that allows your plant to grow even when app is closed
  • Generations: each plant you bring to its full growth potential rewards you with 20% growth speed for the next plant
  • Random and rare mutations can occur at any point in a plant's life
  • SQLite Community Garden of other users' plants (for shared unix servers)
  • Data files are created in the user's home (~) directory, along with a JSON file that can be used in other apps.
    • Data is created for your current plant and harvested plants
{
"description":"common singing blue seed-bearing poppy",
"file_name":"/Users/jakefunke/.botany/jakefunke_plant.dat",
"age":"0d:2h:3m:16s",
"score":1730,
"owner":"jakefunke",
"is_dead":false,
"last_watered":1489113197
"generation": 2
}

to-dos

  • Finish garden feature
    • Water neighbor's plants
  • Plant pollination - cross-breed with neighbor plants to unlock second-gen plants
    • Share seeds with other users
  • Global events
    • Server API to have rain storms, heat waves, insects
  • Hybridization, lineage tracking

requirements

  • Unix-based OS (Mac, Linux)
  • Python 2.x
  • Recommended: 80x24 minimum terminal, fixed-width font

credits

  • thank you tilde.town for inspiration!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.