Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. def zero():
  2. print("_","_","_","_")
  3. print("|","","","","","|")
  4. print("|")
  5. print("|")
  6. print("|")
  7. print("|")
  8. print("|")
  9. def one():
  10. print("_","_","_","_")
  11. print("|","","","","","|")
  12. print("|","","","","","o")
  13. print("|")
  14. print("|")
  15. print("|")
  16. print("|")
  17. def two():
  18. print("_","_","_","_")
  19. print("|","","","","","|")
  20. print("|","","","","","o")
  21. print("|","","","","","|")
  22. print("|","","","","","|")
  23. print("|")
  24. print("|")
  25. def three():
  26. print("_","_","_","_")
  27. print("|","","","","","|")
  28. print("|","","","","","o")
  29. print("|","","","","","|")
  30. print("|","","","","","|")
  31. print("|","","","","/","")
  32. print("|")
  33. def four():
  34. print("_","_","_","_")
  35. print("|","","","","","|")
  36. print("|","","","","","o")
  37. print("|","","","","","|")
  38. print("|","","","","","|")
  39. print("|","","","","/","\\")
  40. print("|")
  41. def five():
  42. print("_","_","_","_")
  43. print("|","","","","","|")
  44. print("|","","","","","o")
  45. print("|","","","/","|","")
  46. print("|","","","","","|")
  47. print("|","","","","/","\\")
  48. print("|")
  49. def six():
  50. print("_","_","_","_")
  51. print("|","","","","","|")
  52. print("|","","","","","o")
  53. print("|","","","/","|","\\")
  54. print("|","","","","","|")
  55. print("|","","","","/","\\")
  56. print("|")
  57. def seven():
  58. print("GAME OVER")
  59. f0 = zero
  60. f1 = one
  61. f2 = two
  62. f3 = three
  63. f4 = four
  64. f5 = five
  65. f6 = six
  66. f7 = seven
  67. pic = [f0,f1,f2,f3,f4,f5,f6,f7]
  68. import random
  69. x = 0
  70. letters = []
  71. order = ["_","_","_","_"]
  72. words = ["four","true","word","pink","pear","bike","take","nice","bruh","ogey","snow","baby","girl","boys","lmao","date","dead","east","yeah","love","yous","body"]
  73. pic[0]()
  74. print(order)
  75. while True:
  76. word = random.choice(words)
  77. for i in word:
  78. letters.append(i)
  79. while (x < 7):
  80. y = input("Letter? ")
  81. if y in letters:
  82. z = letters.index(y)
  83. order[z] = y
  84. print(order)
  85. if y not in letters:
  86. x = x + 1
  87. pic[x]()
  88. print(ordet
  89. r)
  90. if order == letters:
  91. x = 7
  92. print("========")
  93. print("YOU WIN")
  94. print("========")
  95. x = 0
  96. letters = []
  97. order = ["_","_","_","_"]
  98. pic[0]()
  99. print(order)
  100. break
  101. if x == 7:
  102. print("========")
  103. print("YOU LOSE")
  104. print("========")
  105. x = 0
  106. letters = []
  107. order = ["_","_","_","_"]
  108. pic[0]()
  109. print(order)
  110. break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement