Advertisement
Python253

ywd_000

Jan 17th, 2019
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3.  
  4. from sys import exit
  5. raw_input = input
  6.  
  7. def bye():
  8. print("GOODBYE")
  9. exit(0)
  10.  
  11. def code253():
  12. print("SO YOU WANT CLOSURE?, OK...")
  13. print("YOU DIED, GAME OVER, THE END!")
  14.  
  15. bye()
  16.  
  17. def dead():
  18. print("GAME OVER!")
  19. print("TRY AGAIN?")
  20. print("TYPE: YES OR NO")
  21. while True:
  22. do_again = raw_input("> ")
  23. if "yes" in do_again or "YES" in do_again:
  24. intro()
  25. if "no" in do_again or "NO" in do_again:
  26. bye()
  27.  
  28.  
  29. def win():
  30. print("YOU WIN!")
  31. print("IT SHOULD FEEL GREAT, BUT IT DOESN'T!")
  32. print("TYPE: 253 NEXT TIME YOU PLAY.")
  33. print("TRY AGAIN?")
  34. print("TYPE: YES OR NO")
  35. while True:
  36. do_again = raw_input("> ")
  37. if "yes" in do_again or "YES" in do_again:
  38. intro()
  39. if "no" in do_again or "NO" in do_again:
  40. bye()
  41.  
  42.  
  43. def error():
  44. print("ERROR: TRY AGAIN")
  45. intro()
  46.  
  47. def start():
  48. print("LET'S GO!")
  49. print("DECIDE: 1 OR 0?")
  50. while True:
  51. do_back = raw_input("> ")
  52. if "zero" in do_back or "0" in do_back:
  53. print("IN THIS WORLD THERE ARE TWO TYPES OF PEOPLE")
  54. print("ONE'S AND ZEROS.")
  55. print("YOU CHOSE WRONG! AND DIE.")
  56. dead()
  57. if "one" in do_back or "1" in do_back:
  58. print("IN THIS WORLD THERE ARE TWO TYPES OF PEOPLE")
  59. print("ONE'S AND ZEROS.")
  60. print("YOU CHOSE CORRECT! AND STILL DIE.")
  61. win()
  62. if "253" in do_back:
  63. print("")
  64. print("OH! YOU HAD A CODE THINGIE!")
  65. print("LET ME PULL UP YOUR INFORMATION...")
  66. print("BEEP BEEP BOOP!")
  67. print("")
  68. code253()
  69. else:
  70. error()
  71. else:
  72. error()
  73.  
  74. def intro():
  75. print("")
  76. print(" .----------------------------------------.")
  77. print(" | _____________________________________ |")
  78. print(" | | ................................... | |")
  79. print(" | | ▄ ▄▌ ▄ ▄▌ | |")
  80. print(" | | █ ██▌ █ ██▌ | |")
  81. print(" | | ▐█▌▐█ ▄█▀▄ █▌ ▐█▌ | |")
  82. print(" | | ▀█▀ ▐█▌ ▐▌ ▐█▄█▌ | |")
  83. print(" | | ▀ ▀█▄▀ ▀▀▀ | |")
  84. print(" | | ▄▄▌ ▐ ▄▌ ▄▄▌ ▄▄▌ | |")
  85. print(" | | ██ █▌ ▐█ ██ ██ ██ | |")
  86. print(" | | ██ ▐█ ▐▌ ▐█ ██ ██ | |")
  87. print(" | | ▐█▌██▐█▌ ▐█▌ ▐█▌▐▌ ▐█▌▐▌ | |")
  88. print(" | | ▀▀▀▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ | |")
  89. print(" | | ▄▄▄▄ ▄▄▄ | |")
  90. print(" | | ██ ██ ██ ▀▄ ▀ | |")
  91. print(" | | ▐█ ▐█▌ ▐█ ▐▀▀ ▄ | |")
  92. print(" | | ██ ██ ▐█▌ ▐█▄▄▌ | |")
  93. print(" | | ▀▀▀▀▀ ▀▀▀ ▀▀▀ [2019]| |")
  94. print(" | | ................................... | |")
  95. print(" | \___________________________________/ |")
  96. print(" |_________________________________________|")
  97. print(" .---\_____ [] _______/------,")
  98. print(" / /______________\ /|")
  99. print(" /___________________________________ / |")
  100. print(" | | |")
  101. print(" | _ _ _ [-------] | |")
  102. print(" | o o o [-------] | /")
  103. print(" |__________________________________ |/")
  104. print(" /-------------------------------------/|")
  105. print(" /-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ /")
  106. print(" /-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ /")
  107. print(" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'")
  108. print("")
  109. print("READY?")
  110. start()
  111.  
  112. intro()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement