Advertisement
KodingKid

My Python Game - Version 1

Aug 1st, 2021
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.57 KB | None | 0 0
  1. listofobjects = [pipe, wooden-slab, wheels, wooden-planks, coal, campfire, train-tracks, seat, screws, interior]
  2. print(listofobjects)
  3. print("What do you do with these objects?")
  4. print("Choose your first interaction:")
  5. actionofobjects1 = input()
  6. if actionofobjects1 == "wooden-slab" or "Wooden-Slab" or "Wooden-slab" or "wooden-Slab":
  7.     print("You place down the wooden-slab, now you need to make it into something...")
  8. else:
  9.     print("You should try something else first")
  10. print("So you are done with your first object, now try something else.")
  11. actionofobjects2 = input()
  12. if actionofobjects2 == "Wooden-Planks" or "Wooden-planks" or "wooden-planks" or "wooden-Planks":
  13.     print("Great, now you need something to attach the wooden planks to the slab...")
  14. else:
  15.     print("Try something else")
  16. print("Second step down, third one coming!")
  17. actionofobjects3 = input()
  18. if actionofobjects3 == "Screws" or "screws":
  19.     print("Yeaaaaa, screw them planks!")
  20. else:
  21.     print("Try something else")
  22. print("Well done, you really screwed those planks well!")
  23. actionofobjects4 = input()
  24. if actionofobjects4 == "Wheels" or "wheels":
  25.     print("Yep, you need them, for what seems now to be a vehicle")
  26. else:
  27.     print("Try something else")
  28. print("Nice, now we need to start making this useable and an actual vehicle it would seem")
  29. actionofobjects5 = input()
  30. if actionofobjects5 == "Seat" or "seat":
  31.     print("Now you can be comfortable whilst riding ayy")
  32. else:
  33.     print("Try something else")
  34. print("Alright, now we need something to propell this beast!")
  35. actionofobjects6 = input()
  36. if actionofobjects6 == "Campfire" or "campfire":
  37.     print("Nice engine bro")
  38. else:
  39.     print("Try something else")
  40. print("Now we need some fuel")
  41. actionofobjects7 = input()
  42. if actionofobjects7 == "Coal" or "coal":
  43.     print("Yep you got that right")
  44. else:
  45.     print("Try something else")
  46. print("Now we need something to clear this all out so we don't die")
  47. actionofobjects8 = input()
  48. if actionofobjects8 == "Pipe" or "pipe":
  49.     print("Yep, that's an exhaust")
  50. else:
  51.     print("Try something else")
  52. print("Now we need some last finishing-touches")
  53. actionofobjects9 = input()
  54. if actionofobjects9 == "Interior" or "interior":
  55.     print("ooo being a bit fancy today I see")
  56. else:
  57.     print("Try something else")
  58. print("Now we just need to drive this epic homemade train")
  59. actionofobjects10 = input()
  60. if actionofobjects10 == "Train-Tracks" or "Train-tracks" or "train-Tracks" or "train-tracks":
  61.     print("vroooooooooooooooooooooooooooom")
  62.     print("The End")
  63. else:
  64.     print("Try something else")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement