def start():
    desc = 'You awake to the sound of continious drumming from the ferocious natives \nand wonder how everything couldve gone so wrong. Your group of traveling chefs had \nonly been scouting for delicious mushrooms after all. Everything you have is gone \nexept your most favorite forest green cloke that had many pockets. As you survey\n the sourrounding area you realize you only have a couple options.'
    choice_one = 'You challenge the natives'
    choice_two = 'You reach into your cloak'
    choice_three = 'You try to loosen your bonds'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                'The natives are so offended they chop your head of and ironically being a chef serve you to thier king on a silver plater'
            )
            death()
            break
        elif response == '2':
            print(
                "you feel around in the cloak and to your astonishment find your beloved exploding shrooms. The natives thought they were harmless but you know the truth"
            )
            two()
            break
        elif response == '3':
            print(
                "You will find that they weren't as tight as you expected. You slowly creep into the darkness."
            )
            three()
            break
        else:
            print("Invalid input")
            continue
def three_one():
    desc = 'You arrive in Borest but as you begin to enter through the gates the guards start to question you'
    choice_one = 'Try to persuade them that you mean no harm (1)'
    choice_two = 'Walk around the walls and try to find a way in (2)'
    choice_three = 'Demand entrance to the city(3)'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                'You explain were youve come from and they thank you for the native tribes info. You pass through'
            )
            Enter_Borest()
            Borest()
            break
        elif response == '2':
            print(
                "As you walk you find a sketchy sewer drain that has broken bars and enter "
            )
            Sewers()
            break
        elif response == '3':
            death()
            break
        else:
            print("Invalid input")
            continue
def two():
    desc = 'These shrooms could flatten the natives around you but you are unsure about the risk it could put you in'
    choice_one = 'Throw it at the natives in hopes to destroy them (1)'
    choice_two = ' slowly tear apart the shroom and pull out the flammable goo and burn your bonds (2)'
    choice_three = 'threaten the natives and force them to let you go(3)'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                'Your attempts are foolish, as you throw the mushroom it explodes and you die with the natives'
            )
            death()
            break
        elif response == '2':
            print(
                " Your bonds burn away and you slowly creep away into the darkness"
            )
            three()
            break
        elif response == '3':
            print(
                "The natives are frightened and you feel powerful as you exit the camp unharmed"
            )
            three()
            break
        else:
            print("Invalid input")
            continue
def darqthaal_road():
    desc = 'You are on the Darthaal road and can travel to..'
    choice_one = 'Borest (1)'
    choice_two = 'Lumin forest(2)'

    start_game = manager(desc, choice_one, choice_two)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                ' You travel on to Borest and see a sprawling city of pure white spires with a navy blue pointed roofs. Its majesticness leaves you in awe'
            )
            Enter_Borest()
            Borest()
            break
        elif response == '2':
            print(
                "You travel to Lumin Forest and find enjoyement in the lush undergrowth fantasizing about the delectible ingredients you might find "
            )
            Lumin_Forest()
            break
        else:
            print("Invalid input")
            continue
def lumin_road():
    desc = 'You are on the Lumin road and can travel to..'
    choice_one = 'Borest (1)'
    choice_two = 'Darqthaal Cave(2)'

    start_game = manager(desc, choice_one, choice_two)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                ' You travel on to Borest and see a sprawling city of pure white spires with a navy blue pointed roofs. Its majesticness leaves you in awe'
            )
            Borest()
            break
        elif response == '2':
            print(
                "You travel to Darqthaal Cave and see a fimiliar glow emitting from its gaping maw"
            )
            Darqthaal()
            break
        else:
            print("Invalid input")
            continue
def Sewer_Choice():
    desc = 'The beast is gone but you can hear more scraping'
    choice_one = 'Enter Borest(1)'
    choice_two = 'Leave to borest road(2)'
    choice_three = 'Fight more rats(3)'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print('You are glad to leave the disgusting sewers')
            Borest()
            break
        elif response == '2':
            print("You are glad to leave the disgusting sewers ")
            borest_road
            break
        elif response == '3':
            print("The rats stand no chance ")
            Sewers()
            break
        else:
            print("Invalid input")
            continue
def Sobbing_Woman():
    global lost_boy
    global Gold
    global Borest_REP
    global sob_woman
    if lost_boy == False:
        print("Im so grateful, please tak this as a reward")
        sob_woman = False
        Gold += 10
    if sob_woman == True:
        print(
            'Please travler help me she exclaims, my boy is lost and I cant find him!'
        )
    else:
        print("Are you looking for him!")
        Borest()
    desc = "She looks to you"
    choice_one = 'Say you will help the Lady(1)'
    choice_two = 'Say keep track of your own kid(2)'
    choice_three = 'Leave the sobbing woman(3)'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print('The lady is so grateful and gives you a hug')
            Borest_REP += 1
            print('Your reputation is now ' + str(Borest_REP))
            sob_woman = False
            Borest()
            break
        elif response == '2':
            print(
                "You tell her off and she yells and spits in your face while everyone watches"
            )
            Borest_REP -= 1
            print("Your reputation went down 1")
            print("Your reputation is " + str(Borest_REP))
            break
        elif response == '3':
            print("You leave the woman to her own misery ")
            Borest()
            break
        else:
            print("Invalid input")
            continue
def beggar():
    global beggar_instance
    global Borest_REP

    desc = 'THe beggar lifts his head and attempts a smile, "Can you spare a coin" he asks'
    choice_one = 'give the poor man some coin(1)'
    choice_two = 'KIll the begger(2)'
    choice_three = 'Leave the beggar(3)'
    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            if Gold >= 1:
                print(
                    'You give the man some coin and wish him the best, he seems very grateful'
                )
                Borest_REP += 1
                print("You have 1 better reputation in Borest")
                beggar_instance = False
                Borest()
            break
        elif response == '2':
            print("The mans gutteral screams chill your bones ")
            print("You have lost 1 reputation")
            Borest_REP -= 2
            print("Your reputation in Borest is " + str(Borest_REP))
            beggar_instance = False
            if Borest_REP < -1:
                print("You are now reconized as a bandit")
                print("Borest ")
            Borest()
            break
        elif response == '3':
            print("You leave the beggar to his own filth")
            Borest()
        else:
            print("Invalid input")
            continue
def three():
    global stamina
    desc = 'You run away and stumble apon a high bluff and can see the entire island your on. However travel is limited'
    choice_one = 'Closest to you is the kindom Borest(1)'
    choice_two = 'Medium distance is a lush forest(2)'
    choice_three = 'Farthest is a mysterious cave(3)'

    start_game = manager(desc, choice_one, choice_two, choice_three)
    start_game.build()

    valid = True
    while valid == True:
        response = input()
        if response == '1':
            print(
                'You travel on to Borest and see a sprawling city of pure white spires with a navy blue pointed roofs. Its majesticness leaves you in awe.'
            )
            stamina -= 1
            print("Your stamina is now " + str(stamina))
            three_one()
            break
        elif response == '2':
            print(
                "You travel to the lush forest known as the Lumin Forest and are exited to see what sort of delectible ingredients you could find!"
            )
            stamina -= 2
            print("Your stamina is now " + str(stamina))
            three_two()
            break
        elif response == '3':
            print(
                "You run to the cave known as Darqthaal and notice a suprising amount of light emitted from its maw as night falls. "
            )
            stamina -= 3
            print("Your stamina is now " + str(stamina))
            three_three()
            break
        else:
            print("Invalid input")
            continue