Пример #1
0
def main_menu():
    """
    Show Keahua title with main menu options
    Handle user-selected menu option
    Arguments: None
    """
    build_menu()
    print("Choose a KILLER option.")
    choice = input(">> ")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        feed_animal(keahua)

    if choice == "4":
        cultivate_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)
        pass

    # NOT NEEDED - if user types 6, the code will just end
    # if choice == "6":
    #     exit()

    if choice != "6":
        main_menu()
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()
    choice = input(">> ")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        feed_animal()

    if choice == "4":
        cultivate_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)

    if choice != "6":
        main_menu()
Пример #3
0
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()

    print(f'{add_color("What would you like to do?", "WARNING")}')
    choice = input('> ')

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        clear()
        release_animal(keahua, False)

    if choice == "3":
        pass

    if choice == "4":
        pass

    if choice == "5":
        build_facility_report(keahua)

    if choice != "6":
        main_menu()
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    clear_screen()
    build_menu()
    choice = input(">> ")
    # print(choice)
    # input('^^choice')

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        redo_feed_animal(keahua)

    if choice == "4":
        add_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)
        pass

    if choice != "6":
        main_menu()

    if choice == "6":
        os.system('say Goodbye' if os.name != 'nt' else '')

    return
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()
    choice = input(">> ")

    if choice == "1":
        annex_biome(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        # Define Logic to Clear The Console before running this.
        animal_to_feed_menu(keahua)


# Need to add Logic for This option to do something other than nothing. Need to also build menu for htis to go to once it is used.

    if choice == "4":
        cultivate_plant_menu(keahua)

    if choice == "5":
        build_facility_report(keahua)
        pass

    if choice != "6":
        main_menu()
Пример #6
0
def main_menu():
    """Show Keahua Action Options
    Arguments: None
    """
    build_menu()
    print(
        colorizer.colorize('\nChoose a KILLER option.',
                           colors.text_colors['WARNING'], '', ''))
    choice = input("> ")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release(keahua, 'animal')

    if choice == "3":
        feed_animal(keahua)

    if choice == "4":
        release(keahua, 'plant')

    if choice == "5":
        build_facility_report(keahua)
        pass

    if choice != "6":
        main_menu()
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()
    choice = input(">_ ")

    # Will print a menu of biomes with conditionals to add the selected
    # biome to keahua's array for that biome.
    if choice == "1":
        annex_biome(keahua)

    # Will print list of animals to release to a biome. Conditionals based
    # on animal selected to print the biomes for that animal, and the len()
    # of the animals arr for those biomes to make sure there's room.
    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        food_menu()
        # keahua
    if choice == "4":
        pass

    if choice == "5":
        build_facility_report(keahua)
        pass

    if choice != "6":
        main_menu()
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()
    choice = input(">> ")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        feed_animal(keahua)

    if choice == "4":
        add_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)

    if choice == "6":
        write_text(keahua)

    #"Secret Seven": seed data with tester script
    if choice == "7":
        mass_add_to_environs(keahua)

    if choice == "0":
        clear_text()

    if choice != "6" and choice != "0":
        main_menu()
def main_menu():
    """Show Keahua Action Options

    Arguments: None
    """
    build_menu()
    choice = input("\n Choose a KILLER option \n \033[1;31;40m> \033[1;37;40m")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        feed_animal(keahua)

    if choice == "4":
        cultivate_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)

    if choice != "6":
        main_menu()
def main_menu():

    build_menu()
    choice = input(">> ")

    if choice == "1":
        annex_habitat(keahua)

    if choice == "2":
        release_animal(keahua)

    if choice == "3":
        feed_animal(keahua)

    if choice == "4":
        cultivate_plant(keahua)

    if choice == "5":
        build_facility_report(keahua)

    if choice != "6":
        main_menu()