|
| 1 | +from time import * |
| 2 | + |
| 3 | +print("Hello! Welcome to the game") |
| 4 | +choice = input("Do you want to start the game? Y/N: ").upper() |
| 5 | +if choice == 'Y': |
| 6 | + print("Let's Go!!") |
| 7 | +else: |
| 8 | + print("Let's play next time ☹") |
| 9 | + sleep(20) |
| 10 | +print("""In which path you want to go |
| 11 | + A- Concrete road |
| 12 | + B- Road in middle of forest |
| 13 | + C- Swimming through the ocean\n""") |
| 14 | +choice = input("Enter your choice: ").upper() |
| 15 | +if choice == 'A': |
| 16 | + ch = input("\nThere is a building in the front would u want to enter it? Y/N: ").upper() |
| 17 | + if ch == 'Y': |
| 18 | + print("\nYou entered the building....") |
| 19 | + ch1 = input("Would you like to take the lift (type Y) or go from the stairs (type N)? ").upper() |
| 20 | + if ch1 == 'Y': |
| 21 | + print("\nYou took the lift and the lift stopped working and it crashed, you died") |
| 22 | + sleep(20) |
| 23 | + elif ch1 == 'N': |
| 24 | + ch2 = input("\nYou reached the terrace u saw a parachute would you like to take it? Y/N: ").upper() |
| 25 | + if ch2 == 'Y': |
| 26 | + print("\nYou took the parachute and landed on a playground.") |
| 27 | + print("You went home empty handed. ") |
| 28 | + sleep(20) |
| 29 | + elif ch2 == 'N': |
| 30 | + print("\nYou can't do anything the building security guard caught you and handed you to the police. ") |
| 31 | + print("You failed") |
| 32 | + sleep(20) |
| 33 | + elif ch == 'N': |
| 34 | + ch1 = input("\nYou passed the building and now there is a restaurant would you like to go and have lunch? Y/N: ").upper() |
| 35 | + if ch1 == 'Y': |
| 36 | + print("\nYou entered the restaurant....") |
| 37 | + ch2 = input("You had lunch, would you like to pay the bill(type Y) or run away(type N)? ").upper() |
| 38 | + if ch2 == 'Y': |
| 39 | + print("\nYou paid the bill but you had no money so the manager called the police and you got arrested") |
| 40 | + sleep(20) |
| 41 | + elif ch2 == 'N': |
| 42 | + print("\nYou ran away... but somehow the police found you so u are arrested") |
| 43 | + sleep(20) |
| 44 | + elif ch1 == 'N': |
| 45 | + print("\nYou were just walking randomly and fell into a manhole...U died") |
| 46 | + sleep(20) |
| 47 | +elif choice == 'B': |
| 48 | + print("\nYou are lost in the forest...") |
| 49 | + ch = input("There is a cave in front would you like to enter it? Y/N: ").upper() |
| 50 | + if ch == 'Y': |
| 51 | + print("\nYou entered the cave there was a giant inside...he wants to become your friend") |
| 52 | + ch1 = input("Would you like to become is friend? Y/N: ").upper() |
| 53 | + if ch1 == 'Y': |
| 54 | + print("\nYou both became friends and he took you to his kingdom made you the price of the kingdom...") |
| 55 | + print("You both live a happy life...") |
| 56 | + sleep(20) |
| 57 | + if ch1 == 'N': |
| 58 | + print("\nGiant became angry and ate you raw....RIP") |
| 59 | + sleep(20) |
| 60 | + elif ch =='N': |
| 61 | + print("\nYou ignored the cave and continued your journey") |
| 62 | + ch1 = input("You see something buried underground would you like to dig and remove it? Y/N: ").upper() |
| 63 | + if ch1 == 'Y': |
| 64 | + print("\nLucky you! It was a map and it lead to something ") |
| 65 | + ch2 = input("Would you like to follow the map? Y/N: ").upper() |
| 66 | + if ch2 == 'Y': |
| 67 | + print("\nYou are following the map and you ended up under a big tree and theres a \"X\" mark") |
| 68 | + ch3 = input("Would you like to dig it? Y/N: ").upper() |
| 69 | + if ch3 == 'Y': |
| 70 | + print("\nYou found nothing...") |
| 71 | + print("And you got lost in the forest and now you died due to starvation") |
| 72 | + sleep(20) |
| 73 | + elif ch3 == 'N': |
| 74 | + print("\nAnd you got lost in the forest and now you died due to starvation") |
| 75 | + sleep(20) |
| 76 | + elif ch2 == 'N': |
| 77 | + print("\nYou didn't follow the map and went ahead...") |
| 78 | + ch3 = input("You saw a \"X\" mark in the ground would you like to dig and see whats there? Y/N: ").upper() |
| 79 | + if ch3 == 'Y': |
| 80 | + print("\nYou found and treasure worth billions...You realised that the map was a distraction") |
| 81 | + print("You are now a billionaire and living your life peacefully") |
| 82 | + sleep(20) |
| 83 | + elif ch3 == 'N': |
| 84 | + print("\nYou went too deep in the forest") |
| 85 | + print("You got lost and now you died due to starvation") |
| 86 | + sleep(20) |
| 87 | + elif ch1 == 'N': |
| 88 | + print("\nYou continued your journey and came across a river") |
| 89 | + ch2 = input("Would you like to swim and cross the river? Y/N: ").upper() |
| 90 | + if ch2 == 'Y': |
| 91 | + print("\nYou jumped in the river and there was a crocodile...and you know what happened next lol ") |
| 92 | + sleep(20) |
| 93 | + elif ch2 == 'N': |
| 94 | + print("\nYou went ahead and found a bridge and you crossed the river") |
| 95 | + ch3 = input("There are two ways would you like to go right or left? R/L: ").upper() |
| 96 | + if ch3 == 'R': |
| 97 | + print("\nYou chose the right path and you reached the city and safely went back home!") |
| 98 | + sleep(20) |
| 99 | + elif ch3 == 'L': |
| 100 | + print("\nYou went along the left path...") |
| 101 | + print("You saw a cave but you realise that it is the same cave you found at beginning...") |
| 102 | + print("And now you are in a infinite loop...Bye Have Fun ") |
| 103 | + sleep(20) |
| 104 | +elif choice == 'C': |
| 105 | + print("\nYou are swimming in the ocean") |
| 106 | + ch1 = input("You found an island would like to go there? Y/N: ").upper() |
| 107 | + if ch1 == 'Y': |
| 108 | + print("\nYou are now walking in the island...") |
| 109 | + print("You find that the island is full of cannibals 💀") |
| 110 | + ch2 = input("Do you want to run away(type Y) or be friends with them(type N)? ").upper() |
| 111 | + if ch2 == 'Y': |
| 112 | + print("\nYou are running and there was a bear trap and you stepped on it") |
| 113 | + print("They found you....") |
| 114 | + sleep(20) |
| 115 | + elif ch2 == 'N': |
| 116 | + print("\nYou tried to be their friend but you forgot that they don't understand your language...") |
| 117 | + print("They thought you were teasing them and they had tasty lunch 🍴") |
| 118 | + sleep(20) |
| 119 | + elif ch1 == 'N': |
| 120 | + print("\nYou ignored the island and swam ahead") |
| 121 | + print("You found 2 fisherman in a boat") |
| 122 | + ch2 = input("Would you like to join them? Y/N: ").upper() |
| 123 | + if ch2 == 'Y': |
| 124 | + print("\nThey were very good and they took you with them and you safely made to the land") |
| 125 | + print("You are now at home chilling 😎") |
| 126 | + sleep(20) |
| 127 | + elif ch2 == 'N': |
| 128 | + print("\nYou told them that you won't come with them") |
| 129 | + print("You are now swimming ahead and you are in middle of nowhere...") |
| 130 | + print("You died....") |
| 131 | + sleep(20) |
| 132 | +else: |
| 133 | + print("\nSelect correction option!! ") |
| 134 | + sleep(20) |
| 135 | + |
0 commit comments