Advertisement
TST2024

The TRAIL python game

Oct 2nd, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.88 KB | None | 0 0
  1. #This game has been made to be played with python with repl.it
  2. #In order to play the game please type exactly what you see in brackets like this Do you :Jump: or :Stand: if you wanted to jump you would type Jump and hit enter
  3.  
  4.  
  5. print('Hello')
  6. UserName = input ('Whats your name:')
  7. print ('Hello' ,UserName)
  8. Age = input ('How old are you?:')
  9. print ('Hello' ,UserName)
  10. print ('You are' ,Age )
  11. print ('Years Old')
  12. Question = input ('Is this :Correct: or is it :Wrong:?')
  13. if Question == 'Correct':
  14.   print ('Ok lets get Started')
  15. else:
  16.   exit
  17. EastWest = input ('Do You go :East: or :West:?')
  18. if EastWest == 'East':
  19.   print ('You go east and see a large River ahead!')
  20.   RiverChoice = input ('Do you want to :Cross: the river or go :Around:')
  21. else:
  22.   print ('You go west and just as you started your adventure your horse breaks its leg and falls on you, you die......')
  23.   exit
  24.   import sys
  25.   exit
  26. if RiverChoice == 'Cross':
  27.   print ('You tread into the deep water and feel your legs starting to give in and you fall and drown......')
  28.   exit
  29. else:
  30.     print ('You look for a way around')
  31.     print ('You finally found a way arround into a small stream ')
  32.     print ('You see a large mountain and a campfire in the stary night')
  33.     MegaChoice = input ('Do you go to the :Camp: or :Mountain:')
  34. if MegaChoice == 'Camp':
  35.       print ('You go towards the camp and see a band of indians they start shooting at yo and one of the arrows hits your chest and you die.....')
  36.       exit
  37. else:
  38.      print ('You go toward the mountain')
  39. MountainChoice = input ('Do you want to go up the :Steep: side or the :Slope: side')
  40. if MountainChoice == 'Steep':
  41.   print ('You go up the steep side and start to slip you grab on to a rock and slip and fall and tumble down the mountain and die......')
  42.   exit
  43. else:
  44.   'You go up the slope and see a river nearby'
  45. PlayerChoice = input ('A person steps before you and asks what your name is do you :Talk: or keep :Going:')
  46. if PlayerChoice == 'Talk':
  47.   print ('You talk to the traveler and tell him your name he says that he knows a path and points to a mountain in the distance just before you leave he says farewell',UserName )
  48. else:
  49.   ('You pass the traveler and keep going')
  50. print ('Up ahead you see a small town do you want to go to the town or keep going...')
  51. TownChose = input (':Town: :Pass:')
  52. if TownChose == 'Town':
  53.   FoodSupplys = input ('You enter the Town and see two shops one shop sells :Supplys: and another sells :Food:')
  54. else:
  55.   print ('You pass the town')
  56. if FoodSupplys == 'Supplys':
  57.    print ('You go into a supply shop and they have a free dog sign you choose to take the dog with you')
  58. if FoodSupplys == 'Food':
  59.         print ('When you go into the food store there is a robery going on and you get in the way you get shot and your eyes slowly close......')
  60.         exit
  61. PeopleInput1 = input ('After Leaveing the town you see two figures in the moonlight do you want to go :Near: or :Pass: them?:')
  62. if PeopleInput1 == 'Near':
  63.    IndianInput = input ('You decide to go near the people it turns out that they are 2 indians who want to travel with you, Do you want to :Allow: them to go with you or say :No:')
  64. else:
  65.   print ('You pass the people in the moonlight')
  66.   if IndianInput == 'Allow':
  67.     print ('You allow the indians to come with you they might help you later.')
  68. print ('You have been on the trail for a long time time to get some food')
  69. if IndianInput == 'Allow':
  70.   print ('The indians decide to help you find food and you pass a large tree that they point out it is a apple tree and you eat your hunger and thirst are quenchd for now')
  71. else:
  72.   print ('You are starving and need to get food soon')
  73. if IndianInput == 'No':
  74.   print ('You start to starve to where you cant move.....')
  75.   exit
  76. else:
  77.   print ('You start to go toward the mountain with the indians')
  78. EndTrail = input ('As you look ahead your heart sinks to find that there is A steep :Cliff: that looks like you can go down but it looks very steep you can also choose to try and find a way :Arround: ')
  79. if EndTrail == 'Cliff':
  80.   print ('You go towards the cliff and start to go down it is steeper than you relise and your horse falls over but you survive and the indians help you up and you keep going')
  81. else:
  82.   print ('You try to find a way around but the sound you hear makes you know you are about to die as you look down at your feet a rattle snake is latched on your leg after about 4 hours of the indians trying to help your vision starts to fail and you die......')
  83.   exit
  84. print ('The mountian seems much closer now!')
  85. TrainStationCorrect = input ('You see a :Train: station not very far off or you can :Pass: it')
  86. if TrainStationCorrect == 'Train':
  87.   DogFood = input ('You go toward the train station and the station master askes for payment you can give up your :Dog: or some of your :Food:')
  88. else:
  89.   print ('You pass the station and see a camp in the distance before you can run a band of indians attack you and kill you and the rival indians you die.......')
  90.   exit
  91. if DogFood == 'Dog':
  92.   print ('its very sad but you must give up your dog as you board the train the indians leave you')
  93. else:
  94.   ('You give up your food as you board the train the indians leave you')
  95. if DogFood == 'Food':
  96.   print ('You are starting to starve because you have no food and no one will give you food your get very tired and your eyes shut and you die........ you were so close to the end...')
  97.   exit
  98.   if DogFood == 'Dog':
  99.     print ('You eat your food and feel better as the city comes into view')
  100.     print ('You go into the town and you relise it was all worth it you have finished THE TRAIL')
  101. print ('Thanks for playing my first game and stay waiting for the next game THE TRAIL 2 with desesion makeing with 4 choices more advanced people and a much longer story-line :) go to https://pastebin.com/RbNCDUg4 after some time and THE TRAIL 2 code will be there :)(It is now in beta as of oct 15 and the link is active!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement