Untitled

 avatar
unknown
plain_text
a year ago
1.8 kB
11
Indexable
def start_game():
    print("Welcome to the Honeyverse Adventure!")
    print("You are Caleb the Honey Master, facing a new challenge.")
    choice1 = input("Do you want to (1) explore the forest or (2) go to the city? ")

    if choice1 == "1":
        forest()
    elif choice1 == "2":
        city()
    else:
        print("Invalid choice. Try again.")
        start_game()

def forest():
    print("\nYou venture into the dark forest. Suddenly, you hear a noise.")
    choice = input("Do you (1) investigate the noise or (2) run away? ")

    if choice == "1":
        print("\nA wild Commander Chicken Mucher appears! You bravely defeat him with honey power!")
        ending_good()
    elif choice == "2":
        print("\nYou run away and fall into a swamp. You are stuck forever...")
        ending_bad()
    else:
        print("Invalid choice. Try again.")
        forest()

def city():
    print("\nIn the city, you find Lil Nas X dancing on the street.")
    choice = input("Do you (1) join the dance battle or (2) ignore him? ")

    if choice == "1":
        print("\nYou show off your honey moves and Lil Nas X becomes your ally!")
        ending_good()
    elif choice == "2":
        print("\nLil Nas X curses you. You shrink to the size of a honey pack!")
        ending_bad()
    else:
        print("Invalid choice. Try again.")
        city()

def ending_good():
    print("\nCongratulations! You completed the adventure successfully!")
    play_again()

def ending_bad():
    print("\nGame Over. Better luck next time!")
    play_again()

def play_again():
    choice = input("\nDo you want to play again? (yes/no) ")
    if choice.lower() == "yes":
        start_game()
    else:
        print("Thanks for playing! Goodbye!")

# Start the game
start_game()
Editor is loading...
Leave a Comment