Python Forum
Text base adventure game
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text base adventure game
#1
Hey, over the last few days I've been designing a text based adventure game. I know its not the best but I'm just wondering if anyone likes it. If you have any feedback feel free to comment on this post.import time
print("**********Welcome to the game**********")

name=input("Enter the challengers name")


print("Hello", name)

choice=int(input("You are presened with 4 elements what do you choose: \n1) Fire \n2) Air \n3) Earth \n4) Water"))

if choice ==1:
    print("You have a fire heart")
    time.sleep(2)
    print("You come accros some bandits. what do you do?")
    q=int(input("1) Scortch them. \n 2) Look away. \n 3) KILL IN A MASSIVE FIRERY PIT OF HELL."))
    if q==1:
        print("They run away in fear.")
        time.sleep(2)
        print("A wild fire is started by a rouge user. You see the fire and it approches what do you do?")
        q1=int(input("1) Put the fire in a ball and fire it into the heavens. \n 2) Find the rouge user and ask if you can join them. A rice farm burns and countless are killed. \n 3) Absorb the fire and hunt the rouge. Then let him have a taste of his own destruction."))
        if q1==1:
            print("The tempreature increases around you but a rice farm is saved")
        elif q1==2:
            print("You join the rouge and fight the dalha in a the battle of skies")
        elif q1==3:
            print("You hunt the rouge and they are killed. You return the body to the spiritualists and you are rewarded")
            time.sleep(2)
    elif q==2:
            print("They menice a merchant and you are called to the heavens.")
            time.sleep(2)
            print("You are requested back to heaven by the dalah.what do you do?")
            q2=int(input("1) You question the dalah. \n 2) You fight the dalah. \n 3) You admit your mistakes to him and he blesses you on your journey."))
            if q2==1:
                 print(" The dalah no longer allows you on critical missions")
            elif q2==2:
                  print("You are swiftly put down.")
            elif q2==3:
                  print("You continue on your journey.")
    elif q==3:
            print("They are sacrifised and you gain more powerful")
            time.sleep(2)
            print("Rodor (The fire deamon rises from the pit. What do you do?")
            q3=int(input("1) You try and close the portal. \n 2) You team with him. he'd be a good ally \n 3) Use all your might to defeat him. The heavens must live on"))
            if q3==1:
                    print("The portal is almost cloes but he then kills you before it is.")
            elif q3==2:
                    print("You ally with him only for him to betray you in your conquest. He then destroys the heavens.")
            elif q3==3:
                   print("You fight valliently and swiftly. With all your power he is severed but then a portal is oppend and you are sucked in.")
                   time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            c4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if c4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif c4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION")
if choice ==2:
    print("You are the heavens above us")
    time.sleep(2)
    print("There is a tornado herdiling for a small rice farming village. what do you do?")
    c=int(input("1) unravel it. \n 2) Let it destroy its natural occurence. \n 3) lift the villagers to safty but the village is destroyed."))
    if c==1:
        print("The village is saved.")
        time.sleep(2)
        print("You are approched by a refugee running. They are frantic and scared. You then notice a samurai hord approching. What do you do?")
        c1=int(input("1) Gust them off thier horses into the valley. \n 2) Try and bargin with the hord. \n 3) Become unteatherd from the earth and fly the refugee to the heaven of spiritualists."))
        if c1==1:
            print("The samurai all fall into the valley. All samurai are now on the hunt for you.")
        elif c1==2:
            print("The hord ignors you and murder the refugee using two heavens.")
        elif c1==3:
            print("You are now unteathed from the earth and now are belived to be the dalah")
    elif c==2:
        print("The village is destroyed and everyone is killed.")
        time.sleep(2)
        print("You are approched by the Niten Ichi Ryu. They say they are to take you in. What do you do?")
        c2=int(input("1) Fight. They cant match me. \n 2) Surrender. \n 3) Create a vicious tornado to twirl them like the village."))
        if c2==1:
            print("You fight and bearly live.You run before more come after you.")
        elif c2==2:
            print("You give yourslf in. The dalah sentences you to the quo and teathers you for eternity")
        elif c2==3:
            print("All of them are twirlled high up in the air. No one survives impact")
    elif c==3:
        print("The villagers are saved but all the rice and village is destroyed.")
        time.sleep(2)
        print("A crack in the sky apperes. Youiki escapes from quo and thunders down to you. What do you do?")
        c3=int(input("1) Attack and try and restrain him. \n 2) Try and tame him. It could be useful. \n 3) Repatch the tear in the sky and call upon the dalah for help."))
        if c3==1:
            print("You fight and are cut down trying to save a village and restain it.")
        elif c3==2:
            print("You soon relize after sometime that he has the will of a thousand acolates and is ismpossible to be held down.")
        elif c3==3:
            print("The breach is closed before anyone else escapes and the dalah hears your plee and sends the might of the gods. Youiki is defeated but a portal opens and you are sucked in.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            c4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if c4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif c4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION") 
if choice ==3:
    print("You are our foundation of life")
    time.sleep(2)
    print("a averlanch has started and will cause damage to the mountain road and to the panda farm in the valley.What do you do?")
    r=int(input("1) cover the farm in a rock canipe. \n 2) Let it fall. you dont want to waste energy. \n 3) make all the rocks split and not cause damage."))
    if r==1:
        print("All the pandas survive. all go to sleep.")
        time.sleep(2)
        print("A Volcano erupts around you and the rushing lava is heading for the temple of the monks of emptiness. What do you do?")
        r1=int(input("1) Build a earth wall around the lava to contain. \n 2) Let them die. They're to holy. \n 3) Meditate and try and sence the earth in the lava."))
        if r1==1:
            print("The wall is easily put up and the temple is saved but the holy area around is destroyed.")
        elif r1==2:
            print("You let the lava rush to the temple and all the monks are killed you are shunned by the gods and the dalah. You are banished")
        elif r1==3:
            print("You meditate and in the nick of time you senece the presence of the rocks in the lava and you start to receed the lava and plug the volcano.")
    elif r==2:
            print("You save energy but loose repretation with the dalah.")
            time.sleep(2)
            print("A band of ninjas are spotted outside the walls of the daiymo of the iga reigons. What do you do?")
            r2=int(input("1) Allert the guards and protect the daiymo. \n 2) Assist the ninjas in thier mission. \n 3) Go to the chamber of the daimyo and protect him with your life. Even if you fall."))
            if r2==1:
                print("The guards are allerted but the ninjas slip past the new defences and assasinate the daimyo.")
            elif r2==2:
                print("You find the ninjas and assist in the assasination but you are then killed by them. You are dead.")
            elif r2==3:
                print("You rush to his chambers and in time defeat the ninjas but sustain minor injuies. The daimyo is forever greatful to you and starts crusades against the iga shinobi.")
    elif r==3:
        print("There is no damage but the road is clattered.")
        time.sleep(2)
        print("A portal opens on the side of  mount Haepo and the mountain beast crotatis appers. What do you do?")
        r3=int(input("1) Try and cointain the beast by crumbeling the mountain. \n 2) Assist in her escape and rule Japam by his side. \n 3) Use all your powers to close the portal and turn him into a piel of rocks."))
        if r3==1:
            print("You crumble the mountain upon the beast but she survives it by adding the rocks to her and the other rocks kills you and all the villages close by.")
        elif r3==2:
            print("You try and approch her but you are instantly met with a blast and killed letting her take all of japan and slaying all spiritualists .")
        elif r3==3:
            print("You use every move you know even all forbidden moves outlawed by the previoud dalhas. She is put down but you are serverly injured in the fight and you cant stop yourself from being sucked in a portal that is just opened by her death.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            r4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if r4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif r4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION")
if choice ==4:
    print("You are the river of our salvation")
    time.sleep(2)
    print("a tusnami is spotted off the coast and heading for the capital. What do you do?")
    g=int(input("1) Make a water wall. \n 2) Let it destroy the capital. The men in power are terrible. \n 3) re divert the water back into the ocean."))
    if g==1:
        print("Most of the water is absorbed but some still splashes the beach and flood some of the close area")
        time.sleep(2)
        print("A lake erupts close to the shrine of the dalah and water is spewed out causing flash floods. What do you do?")
        g1=int(input("1) Drain the water into the ground. \n 2) Let the water flood the dalah shrine. What authority does he have over me. \n 3) Absorb the water and go to all the rice villages and gift water for the hrad harvest that will be coming."))
        if g1==1:
            print("You drain the water into the ground and the grass around the shrine become saturated.")
        elif g1==2:
            print("The water rises around the shrine and destroys it. The dalah hunts you down and you fight. Before you could retalite YOU ARE KILLED.")
        elif g1==3:
            print("You move to all close villages and gift water and the following harvest all villages make the harvest and you are praised by the dalah and by the villagers.")
    elif g==2:
        print("All the city is flouded and many are dead you are expeled by the spiritualists and loose your powers")
        time.sleep(2)
        print("You are approched by a spiritualist that had a farther killed by the tusnami. The other spirtialist gets ready to fight. What do you do?")
        g2=int(input("1) Fight until he yeilds. \n 2) Try and negotiate with the other."))
        if g2==1:
            print("You him but you let your anger overwhelm you and you kill him.")
        elif g2==2:
            print("You try and negotiate but he attacks. you block and incopacitate him.")
    elif g==3:
        print("The wave is re directed back out and you are prasised  for saving countless lives and the wave looses momentum and collapses.")
        time.sleep(2)
        print("A portal in the bay of hicho opens and raki ascends throught the portal and heads for a costal town of Edo. What do you do?")
        g3=int(input("1) Drain the water of the bay and let him drown. \n 2) Let him ride the waves and conquer the distant lands. \n 3) Twirl the beat into a cyclone in the water and call upon the dalah and high gods for a rage of lightning to pierce the heart of the god."))
        if g3==1:
            print("You drain the water of the bay but it is to much for you to handle and the water and it enters your body and drowns you.")
        elif g3==2:
            print("The beast sets out into the ocean and you hear reports of mass tusanmi being spotted of the coasts of many other nations.")
        elif g3==3:
            print("You twril the the beast into a massive cyclone and the gods thunder down all the powerful migtht and strikes the beast and it disintigrates but a portal sucks you in and you are tansported to a place with other spiritualists.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            g4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if g4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif g4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
Reply
#2
Hello, please put your code in Python code tags. You can find help here.

Is this a working - runnable piece of code that you shared?
Reply
#3
Hey, over the last few days I've been designing a text based adventure game. I know its not the best but I'm just wondering if anyone likes it. If you have any feedback feel free to comment on this post.
import time
print("**********Welcome to the game**********")

name=input("Enter the challengers name")


print("Hello", name)

choice=int(input("You are presened with 4 elements what do you choose: \n1) Fire \n2) Air \n3) Earth \n4) Water"))

if choice ==1:
    print("You have a fire heart")
    time.sleep(2)
    print("You come accros some bandits. what do you do?")
    q=int(input("1) Scortch them. \n 2) Look away. \n 3) KILL IN A MASSIVE FIRERY PIT OF HELL."))
    if q==1:
        print("They run away in fear.")
        time.sleep(2)
        print("A wild fire is started by a rouge user. You see the fire and it approches what do you do?")
        q1=int(input("1) Put the fire in a ball and fire it into the heavens. \n 2) Find the rouge user and ask if you can join them. A rice farm burns and countless are killed. \n 3) Absorb the fire and hunt the rouge. Then let him have a taste of his own destruction."))
        if q1==1:
            print("The tempreature increases around you but a rice farm is saved")
        elif q1==2:
            print("You join the rouge and fight the dalha in a the battle of skies")
        elif q1==3:
            print("You hunt the rouge and they are killed. You return the body to the spiritualists and you are rewarded")
            time.sleep(2)
    elif q==2:
            print("They menice a merchant and you are called to the heavens.")
            time.sleep(2)
            print("You are requested back to heaven by the dalah.what do you do?")
            q2=int(input("1) You question the dalah. \n 2) You fight the dalah. \n 3) You admit your mistakes to him and he blesses you on your journey."))
            if q2==1:
                 print(" The dalah no longer allows you on critical missions")
            elif q2==2:
                  print("You are swiftly put down.")
            elif q2==3:
                  print("You continue on your journey.")
    elif q==3:
            print("They are sacrifised and you gain more powerful")
            time.sleep(2)
            print("Rodor (The fire deamon rises from the pit. What do you do?")
            q3=int(input("1) You try and close the portal. \n 2) You team with him. he'd be a good ally \n 3) Use all your might to defeat him. The heavens must live on"))
            if q3==1:
                    print("The portal is almost cloes but he then kills you before it is.")
            elif q3==2:
                    print("You ally with him only for him to betray you in your conquest. He then destroys the heavens.")
            elif q3==3:
                   print("You fight valliently and swiftly. With all your power he is severed but then a portal is oppend and you are sucked in.")
                   time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            c4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if c4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif c4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION")
if choice ==2:
    print("You are the heavens above us")
    time.sleep(2)
    print("There is a tornado herdiling for a small rice farming village. what do you do?")
    c=int(input("1) unravel it. \n 2) Let it destroy its natural occurence. \n 3) lift the villagers to safty but the village is destroyed."))
    if c==1:
        print("The village is saved.")
        time.sleep(2)
        print("You are approched by a refugee running. They are frantic and scared. You then notice a samurai hord approching. What do you do?")
        c1=int(input("1) Gust them off thier horses into the valley. \n 2) Try and bargin with the hord. \n 3) Become unteatherd from the earth and fly the refugee to the heaven of spiritualists."))
        if c1==1:
            print("The samurai all fall into the valley. All samurai are now on the hunt for you.")
        elif c1==2:
            print("The hord ignors you and murder the refugee using two heavens.")
        elif c1==3:
            print("You are now unteathed from the earth and now are belived to be the dalah")
    elif c==2:
        print("The village is destroyed and everyone is killed.")
        time.sleep(2)
        print("You are approched by the Niten Ichi Ryu. They say they are to take you in. What do you do?")
        c2=int(input("1) Fight. They cant match me. \n 2) Surrender. \n 3) Create a vicious tornado to twirl them like the village."))
        if c2==1:
            print("You fight and bearly live.You run before more come after you.")
        elif c2==2:
            print("You give yourslf in. The dalah sentences you to the quo and teathers you for eternity")
        elif c2==3:
            print("All of them are twirlled high up in the air. No one survives impact")
    elif c==3:
        print("The villagers are saved but all the rice and village is destroyed.")
        time.sleep(2)
        print("A crack in the sky apperes. Youiki escapes from quo and thunders down to you. What do you do?")
        c3=int(input("1) Attack and try and restrain him. \n 2) Try and tame him. It could be useful. \n 3) Repatch the tear in the sky and call upon the dalah for help."))
        if c3==1:
            print("You fight and are cut down trying to save a village and restain it.")
        elif c3==2:
            print("You soon relize after sometime that he has the will of a thousand acolates and is ismpossible to be held down.")
        elif c3==3:
            print("The breach is closed before anyone else escapes and the dalah hears your plee and sends the might of the gods. Youiki is defeated but a portal opens and you are sucked in.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            c4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if c4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif c4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION") 
if choice ==3:
    print("You are our foundation of life")
    time.sleep(2)
    print("a averlanch has started and will cause damage to the mountain road and to the panda farm in the valley.What do you do?")
    r=int(input("1) cover the farm in a rock canipe. \n 2) Let it fall. you dont want to waste energy. \n 3) make all the rocks split and not cause damage."))
    if r==1:
        print("All the pandas survive. all go to sleep.")
        time.sleep(2)
        print("A Volcano erupts around you and the rushing lava is heading for the temple of the monks of emptiness. What do you do?")
        r1=int(input("1) Build a earth wall around the lava to contain. \n 2) Let them die. They're to holy. \n 3) Meditate and try and sence the earth in the lava."))
        if r1==1:
            print("The wall is easily put up and the temple is saved but the holy area around is destroyed.")
        elif r1==2:
            print("You let the lava rush to the temple and all the monks are killed you are shunned by the gods and the dalah. You are banished")
        elif r1==3:
            print("You meditate and in the nick of time you senece the presence of the rocks in the lava and you start to receed the lava and plug the volcano.")
    elif r==2:
            print("You save energy but loose repretation with the dalah.")
            time.sleep(2)
            print("A band of ninjas are spotted outside the walls of the daiymo of the iga reigons. What do you do?")
            r2=int(input("1) Allert the guards and protect the daiymo. \n 2) Assist the ninjas in thier mission. \n 3) Go to the chamber of the daimyo and protect him with your life. Even if you fall."))
            if r2==1:
                print("The guards are allerted but the ninjas slip past the new defences and assasinate the daimyo.")
            elif r2==2:
                print("You find the ninjas and assist in the assasination but you are then killed by them. You are dead.")
            elif r2==3:
                print("You rush to his chambers and in time defeat the ninjas but sustain minor injuies. The daimyo is forever greatful to you and starts crusades against the iga shinobi.")
    elif r==3:
        print("There is no damage but the road is clattered.")
        time.sleep(2)
        print("A portal opens on the side of  mount Haepo and the mountain beast crotatis appers. What do you do?")
        r3=int(input("1) Try and cointain the beast by crumbeling the mountain. \n 2) Assist in her escape and rule Japam by his side. \n 3) Use all your powers to close the portal and turn him into a piel of rocks."))
        if r3==1:
            print("You crumble the mountain upon the beast but she survives it by adding the rocks to her and the other rocks kills you and all the villages close by.")
        elif r3==2:
            print("You try and approch her but you are instantly met with a blast and killed letting her take all of japan and slaying all spiritualists .")
        elif r3==3:
            print("You use every move you know even all forbidden moves outlawed by the previoud dalhas. She is put down but you are serverly injured in the fight and you cant stop yourself from being sucked in a portal that is just opened by her death.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            r4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if r4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif r4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
    else:
        print("That isnt A VALID OPTION")
if choice ==4:
    print("You are the river of our salvation")
    time.sleep(2)
    print("a tusnami is spotted off the coast and heading for the capital. What do you do?")
    g=int(input("1) Make a water wall. \n 2) Let it destroy the capital. The men in power are terrible. \n 3) re divert the water back into the ocean."))
    if g==1:
        print("Most of the water is absorbed but some still splashes the beach and flood some of the close area")
        time.sleep(2)
        print("A lake erupts close to the shrine of the dalah and water is spewed out causing flash floods. What do you do?")
        g1=int(input("1) Drain the water into the ground. \n 2) Let the water flood the dalah shrine. What authority does he have over me. \n 3) Absorb the water and go to all the rice villages and gift water for the hrad harvest that will be coming."))
        if g1==1:
            print("You drain the water into the ground and the grass around the shrine become saturated.")
        elif g1==2:
            print("The water rises around the shrine and destroys it. The dalah hunts you down and you fight. Before you could retalite YOU ARE KILLED.")
        elif g1==3:
            print("You move to all close villages and gift water and the following harvest all villages make the harvest and you are praised by the dalah and by the villagers.")
    elif g==2:
        print("All the city is flouded and many are dead you are expeled by the spiritualists and loose your powers")
        time.sleep(2)
        print("You are approched by a spiritualist that had a farther killed by the tusnami. The other spirtialist gets ready to fight. What do you do?")
        g2=int(input("1) Fight until he yeilds. \n 2) Try and negotiate with the other."))
        if g2==1:
            print("You him but you let your anger overwhelm you and you kill him.")
        elif g2==2:
            print("You try and negotiate but he attacks. you block and incopacitate him.")
    elif g==3:
        print("The wave is re directed back out and you are prasised  for saving countless lives and the wave looses momentum and collapses.")
        time.sleep(2)
        print("A portal in the bay of hicho opens and raki ascends throught the portal and heads for a costal town of Edo. What do you do?")
        g3=int(input("1) Drain the water of the bay and let him drown. \n 2) Let him ride the waves and conquer the distant lands. \n 3) Twirl the beat into a cyclone in the water and call upon the dalah and high gods for a rage of lightning to pierce the heart of the god."))
        if g3==1:
            print("You drain the water of the bay but it is to much for you to handle and the water and it enters your body and drowns you.")
        elif g3==2:
            print("The beast sets out into the ocean and you hear reports of mass tusanmi being spotted of the coasts of many other nations.")
        elif g3==3:
            print("You twril the the beast into a massive cyclone and the gods thunder down all the powerful migtht and strikes the beast and it disintigrates but a portal sucks you in and you are tansported to a place with other spiritualists.")
            time.sleep(2)
            print("After being transported throught the portal you notice 3 other spiritualists of the other elements their with you. You start to question them. They all explain that the killed a god and was transported by portal. Suddenly the dalah apperes. Everyone is confused then suddenly he attacks. What do you do?")
            g4=int(input("1) Band together with the others and take the fight to him. \n 2) Negotiate with the dalah and see why he is doing this."))
            if g4==1:
                print("You all band together and create the definy ,A ancient group of spiritualists that bond together, and after a fierce battle the dalah is brought to his knees and reveals that the gods and the dalah were created by the kiso ,a ancient race of celestials, to raise an army ,the spiritualists, that would rule the realms and control all life.")
                time.sleep(2)
                print("After the fight you all then split back into your own bodied but before that you all learn the power of creating a uninified portal that transports you all to the heavens and reveal to everything of the kisos plans and all spiritualists rises against the last few kiso in the heavens and all are killed. Seeing that the definy are a ancient group all other spiritualists vote to have the heavens ran by you and the other members of the group. In the following years the spiritualists reavel them selves to the rest of the realms creating a unity of trust to last a life time") 
            elif g4==2:
                print("You all try and reason with the dalah but he uses an ancient power and desintigrates you all. But when you are desintigrated you are reborn with no memories and set out on your journey once again.")
            

    


    

(Jun-23-2018, 04:45 PM)j.crater Wrote: Hello, please put your code in Python code tags. You can find help here.

Is this a working - runnable piece of code that you shared?

Ive put the code into python tags for you. Sorry for the inconvenience. Smile
Reply
#4
Thanks for doing so!
I moved the thread to Completed Scripts/Snippets, which is the place to share working code for others to use or give feedback ;)
Reply
#5
(Jun-23-2018, 09:04 PM)j.crater Wrote: Thanks for doing so! I moved the thread to Completed Scripts/Snippets, which is the place to share working code for others to use or give feedback ;)
ok thanks
Reply
#6
I'll give yours a try when I have a bit of time.
'Colossal Cave' was the first computer game I ever played.
I spent many hours on a DEC PDP-11 back in 1976 playing.
It was great fun!
Reply
#7
(Jun-23-2018, 11:23 PM)Larz60+ Wrote: I'll give yours a try when I have a bit of time. 'Colossal Cave' was the first computer game I ever played. I spent many hours on a DEC PDP-11 back in 1976 playing. It was great fun!
Alright thanks.
Reply
#8
You might want to check out the text adventure tutorial link in my signature (below).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#9
(Jun-24-2018, 11:36 AM)ichabod801 Wrote: You might want to check out the text adventure tutorial link in my signature (below).
Thanks i will definitely check it out.
Reply
#10
the sooner you get rid of habit to use one-letter-cryptic variable names, the better.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lunar Lander Text Game hendry1 1 3,137 May-17-2020, 12:21 AM
Last Post: TomToad
  Text Adventure Game Nave5 1 2,255 Mar-30-2020, 05:06 AM
Last Post: SheeppOSU
  Feedback on a test adventure? Panda 2 2,999 Jun-15-2018, 06:18 PM
Last Post: nilamo
  Using an Abstract base for Game Weapon QueenSvetlana 2 3,490 Oct-31-2017, 05:12 PM
Last Post: QueenSvetlana
  My first 'GAME' It is a simple text adventure jackspendiff942003 3 3,847 Aug-08-2017, 10:22 PM
Last Post: jackspendiff942003
  Christmas Text Adventure OriginalCal 3 5,579 Dec-13-2016, 06:06 PM
Last Post: OriginalCal

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020