Ejemplo n.º 1
0
from arboretum import Arboretum
from actions.annex import annex_habitat
from actions.report import build_facility_report
from helpers import print_banner

# ANIMAL ACTIONS
from actions.release_animal import release_animal
from actions.feed_animal import feed_animal

# PLANT ACTIONS
from actions.cultivate_plant import cultivate_plant


keahua = Arboretum("Keahua Arboretum", "123 Paukauila Lane")


def build_menu():
    '''
    Title Menu with options list
    '''
    print_banner()
    print("MAIN MENU:")
    print("")
    # MAIN MENU
    print("1. Annex Biome")
    print("2. Release New Animal")
    print("3. Feed Animal")
    print("4. Cultivate New Plant")
    print("5. Show Arboretum Report")
    print("6. Exit")
    print("")
import os
from arboretum import Arboretum
# from actions.release_animal import release_animal
# from actions.report import build_facility_report
# from environments import Habitat

avail_animals = ["Gold Dust Day Gecko", "River Dolphin", "Nene Goose", "Kikakapu", "Pueo", "'Ulae", "Ope'ape'a", "Happy-Face Spider"]
avail_plants = ["Mountain Apple Tree", "Silversword", "Rainbow Eucalyptus Tree", "Blue Jade Vine"]
avail_habitats = ["Mountain", "Swamp", "Grassland", "Forest", "River", "Coastline"]

keahua = Arboretum("Keahua Arboretum", "123 Paukauila Lane", avail_animals, avail_plants, avail_habitats)


def animal_menu():
    for animal in avail_animals:
        print(f"{avail_animals.index(animal) + 1}. {animal}")

    print("\nChoose animal")
    choice = input(">> ")
    return choice


def plant_menu():
    for plant in avail_plants:
        print(f"{avail_plants.index(plant) + 1}. {plant}")

    choice = input(">> ")
    return choice


def build_menu():