Advertisement
Guest User

GoblinSlayer

a guest
Jul 13th, 2014
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. color 2
  4.  
  5. set/a wins=0
  6.  
  7. set/a losses=0
  8.  
  9. set/p name=What is your name?:
  10.  
  11. set/p scorelist=What would you like to name your list of scores?:
  12.  
  13. echo.
  14.  
  15. echo Use your intent to make the random number equal zero which will result in the death
  16.  
  17. echo of the goblin. Each Goblin has a 50 percent chance of being defeated, to defeat all
  18.  
  19. echo ten goblins, you must focus your consciousness on increasing your probability of
  20.  
  21. echo success to 100%. If the answer is 1 you loose, if the answer is 0 you win.
  22.  
  23. pause
  24.  
  25. echo Increase your probability now and press enter to know your fate!
  26.  
  27. pause
  28.  
  29. set /a goblina=%random% %% 2
  30.  
  31. echo %goblina%
  32.  
  33. if %goblina% EQU 0 (set/a wins=%wins%+1
  34.  
  35. echo You have defeated the Goblin!)
  36.  
  37. if %goblina% EQU 1 (set/a losses=%losses%+1
  38.  
  39. echo You did not defeat the Goblin!)
  40.  
  41. pause
  42.  
  43. echo Increase your probability now and press enter to know your fate!
  44.  
  45. pause
  46.  
  47. set /a goblinb=%random% %% 2
  48.  
  49. echo %goblinb%
  50.  
  51. if %goblinb% EQU 0 (set/a wins=%wins%+1
  52.  
  53. echo You have defeated the Goblin!)
  54.  
  55. if %goblinb% EQU 1 (set/a losses=%losses%+1
  56.  
  57. echo You did not defeat the Goblin!)
  58.  
  59. pause
  60.  
  61. echo Increase your probability now and press enter to know your fate!
  62.  
  63. pause
  64.  
  65. set /a goblinc=%random% %% 2
  66.  
  67. echo %goblinc%
  68.  
  69. if %goblinc% EQU 0 (set/a wins=%wins%+1
  70.  
  71. echo You have defeated the Goblin!)
  72.  
  73. if %goblinc% EQU 1 (set/a losses=%losses%+1
  74.  
  75. echo You did not defeat the Goblin!)
  76.  
  77. pause
  78.  
  79. echo Increase your probability now and press enter to know your fate!
  80.  
  81. pause
  82.  
  83. set /a goblind=%random% %% 2
  84.  
  85. echo %goblind%
  86.  
  87. if %goblind% EQU 0 (set/a wins=%wins%+1
  88.  
  89. echo You have defeated the Goblin!)
  90.  
  91. if %goblind% EQU 1 (set/a losses=%losses%+1
  92.  
  93. echo You did not defeat the Goblin!)
  94.  
  95. pause
  96.  
  97. echo Increase your probability now and press enter to know your fate!
  98.  
  99. pause
  100.  
  101. set /a gobline=%random% %% 2
  102.  
  103. echo %gobline%
  104.  
  105. if %gobline% EQU 0 (set/a wins=%wins%+1
  106.  
  107. echo You have defeated the Goblin!)
  108.  
  109. if %gobline% EQU 1 (set/a losses=%losses%+1
  110.  
  111. echo You did not defeat the Goblin!)
  112.  
  113. pause
  114.  
  115. echo Increase your probability now and press enter to know your fate!
  116.  
  117. pause
  118.  
  119. set /a goblinf=%random% %% 2
  120.  
  121. echo %goblinf%
  122.  
  123. if %goblinf% EQU 0 (set/a wins=%wins%+1
  124.  
  125. echo You have defeated the Goblin!)
  126.  
  127. if %goblinf% EQU 1 (set/a losses=%losses%+1
  128.  
  129. echo You did not defeat the Goblin!)
  130.  
  131. pause
  132.  
  133. echo Increase your probability now and press enter to know your fate!
  134.  
  135. pause
  136.  
  137. set /a gobling=%random% %% 2
  138.  
  139. echo %gobling%
  140.  
  141. if %gobling% EQU 0 (set/a wins=%wins%+1
  142.  
  143. echo You have defeated the Goblin!)
  144.  
  145. if %gobling% EQU 1 (set/a losses=%losses%+1
  146.  
  147. echo You did not defeat the Goblin!)
  148.  
  149. pause
  150.  
  151. echo Increase your probability now and press enter to know your fate!
  152.  
  153. pause
  154.  
  155. set /a goblinh=%random% %% 2
  156.  
  157. echo %goblinh%
  158.  
  159. if %goblinh% EQU 0 (set/a wins=%wins%+1
  160.  
  161. echo You have defeated the Goblin!)
  162.  
  163. if %goblinh% EQU 1 (set/a losses=%losses%+1
  164.  
  165. echo You did not defeat the Goblin!)
  166.  
  167. pause
  168.  
  169. echo Increase your probability now and press enter to know your fate!
  170.  
  171. pause
  172.  
  173. set /a goblini=%random% %% 2
  174.  
  175. echo %goblini%
  176.  
  177. if %goblini% EQU 0 (set/a wins=%wins%+1
  178.  
  179. echo You have defeated the Goblin!)
  180.  
  181. if %goblini% EQU 1 (set/a losses=%losses%+1
  182.  
  183. echo You did not defeat the Goblin!)
  184.  
  185. pause
  186.  
  187. echo Increase your probability now and press enter to know your fate!
  188.  
  189. pause
  190.  
  191. set /a goblinj=%random% %% 2
  192.  
  193. echo %goblinj%
  194.  
  195. if %goblinj% EQU 0 (set/a wins=%wins%+1
  196.  
  197. echo You have defeated the Goblin!)
  198.  
  199. if %goblinj% EQU 1 (set/a losses=%losses%+1
  200.  
  201. echo You did not defeat the Goblin!)
  202.  
  203. pause
  204.  
  205. echo You have %wins% wins and %losses% losses
  206.  
  207. echo.
  208.  
  209. echo Player %name% had Wins:%wins% Losses:%losses%>>%scorelist%.txt
  210.  
  211. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement