Advertisement
Kenkaster001

Untitled

Aug 8th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.25 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace MidtermExam12EvansSamaniegoLadimo
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Title();
  14. first();
  15. Win();
  16. Lose();
  17. }
  18.  
  19. public static void Title()
  20. {
  21. Console.Title = "THE ANNUAL PURGE GAME";
  22. Console.BackgroundColor = ConsoleColor.Black;
  23. Console.ForegroundColor = ConsoleColor.Red;
  24. System.Media.SoundPlayer player = new System.Media.SoundPlayer();
  25. player.SoundLocation = "The Purge - Announcement HD.wav";
  26. player.Play();
  27. Console.WriteLine(@"
  28.  
  29. ______ _ _ ____ ______ _ _ __ _ _ _ _______ _ _____ _ _ ____ _____ ____
  30. /________/\/__/\ /__/\ /_____/\ /_______/\ /__/\ /__/\ /__/\ /__/\ /_/\/_/\ /_______/\ /_/\ /_____/\ /_/\/_/\ /_____/\ /______/\ /_____/\
  31. \__.::.__\/\::\ \\ \ \\::::_\/_ \::: _ \ \\::\_\\ \ \\::\_\\ \ \\:\ \:\ \\::: _ \ \\:\ \ \:::_ \ \\:\ \:\ \\:::_ \ \\::::__\/_ \::::_\/_
  32. \::\ \ \::\/_\ .\ \\:\/___/\ \::() \ \\:. `-\ \ \\:. `-\ \ \\:\ \:\ \\::() \ \\:\ \ \:() \ \\:\ \:\\\:() ) )\:\/____/\ \:\/___/\
  33. \::\ \ \::_::\ \\::___\/_ \:: _ \ \\:. _ \ \\:. _ \ \\:\ \:\ \\:: _ \ \\:\ \____ \: __ \/ \:\ \:\ \\: _`\ \\:\\_ \/ \ ::___\/
  34. \::\ \ \: \ \\::\ \\:\____/\ \:.\ \ \ \\. \`-\ \ \\. \`-\ \ \\:\_\:\ \\:.\ \ \ \\:\/___/\ \ \ \ \:\_\:\ \\ \`\ \ \\:\_\ \ \ \:\____/\
  35. \__\/ \__\/ \::\/ \_____\/ \__\/\__\/ \__\/ \__\/ \__\/ \__\/ \_____\/ \__\/\__\/ \_____\/ \_\/ \_____\/ \_\/\_\/ \_____\ / \_____\/
  36.  
  37. ");
  38. Console.WriteLine("Press 'Enter' to start.");
  39. Console.ReadLine();
  40. Console.WriteLine("Welcome to the Annual Purge");
  41. Console.WriteLine("You have 1 hour left until the Annual Purge.");
  42. Console.ReadLine();
  43. Console.Clear();
  44. first();
  45. }
  46. public static void first()
  47. {
  48. string choice;
  49.  
  50. Console.WriteLine("Pick your character.");
  51. Console.ReadLine();
  52.  
  53. Console.WriteLine("------------------------------------------------------------------------------CHARACTERS-------------------------------------------------------------------------------");
  54. Console.WriteLine(@"
  55. ## ####### ## ## ## ##
  56. ## ## ## ## ## ### ##
  57. ## ## ## ## ## #### ##
  58. ## ## ## ######### ## ## ##
  59. ## ## ## ## ## ## ## ####
  60. ## ## ## ## ## ## ## ###
  61. b ###### ####### ## ## ## ##
  62. ###### ## ### ## ## ## ## ####### ######## ########
  63. ## ## ## ## ## ## ## ### ### ## ## ## ## ##
  64. ## ## ## ## #### #### #### ## ## ## ## ##
  65. ## ## ## ## ## ## ### ## ## ## ######## ######
  66. ## ## ######### ## ## ## ## ## ## ## ##
  67. ## ## ## ## ## ## ## ## ## ## ## ## ##
  68. ###### ######## ## ## ## ## ## ####### ## ## ########
  69. ");
  70. Console.WriteLine(" ============================================================================================");
  71. Console.WriteLine("" +
  72. " < -Machine Gun Attack (20 damage) >" +
  73. " < -Mega Pistol Attack (30 damage) >");
  74. Console.WriteLine("" +
  75. " < -Stamina = 50% >");
  76. Console.WriteLine(" ============================================================================================");
  77. Console.WriteLine("");
  78. Console.WriteLine("");
  79.  
  80. Console.WriteLine("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------");
  81. Console.ReadLine();
  82. Console.WriteLine(@"
  83. ________.___ __________________________ .____
  84. \______ \ |/ ____/\_ __/\____ \ | |
  85. | __/ |\____ \ | | / | \| |
  86. | | | |/ \ | | / | \ |___
  87. |____| |___/______ / |____| \_______ /_______ \
  88. \/ \/ \/
  89. _________________________________________
  90. \______ \_ ____/\_ __/\ _____/
  91. | __/| _)_ | | | _)
  92. | | | \ | | | \
  93. |____| /_______ /|____| /_______ /
  94. \/ \/
  95. ");
  96. Console.WriteLine(" ========================================");
  97. Console.WriteLine("" +
  98. " < -Snipe (25 damage) >" +
  99. " < -Headshot (30 damage) >");
  100. Console.WriteLine("" +
  101. " < -Stamina=50% >");
  102. Console.WriteLine(" ========================================");
  103. Console.WriteLine("");
  104. Console.WriteLine("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------");
  105. Console.ReadLine();
  106.  
  107. Console.WriteLine(@"
  108. ___ _ _ _ _ __ _____ _ _
  109. / ___| | | | \/ |/ _ \ |__ __|/\ | \ | |
  110. | (_ | | | \ / | | | | | | / \ | \| |
  111. \___ \| | | | |\/| | | | | | | / /\ \ | . ` |
  112. _ _) | |__| | | | | |_| | | |/ __ \| |\ |
  113. |_____/ \____/|_| |_|\____/ |_/_/ \_\_| \_|
  114. ");
  115. Console.WriteLine(" ============================");
  116. Console.WriteLine("" +
  117. " < -Flamethrower (30 damage) >" +
  118. " < -Acid Rain (35 damage) >");
  119. Console.WriteLine("" +
  120. " < -Stamina = 50% >");
  121. Console.WriteLine("" +
  122. " < -Dodge Enemy Defense >");
  123. Console.WriteLine(" ============================");
  124. Console.WriteLine("");
  125. Console.WriteLine("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------");
  126. Console.ReadLine();
  127.  
  128. Console.WriteLine("Please pick a character:");
  129. Console.WriteLine("1.) JOHN CLAYMORE");
  130. Console.WriteLine("2.) PISTOL PETE");
  131. Console.WriteLine("3.) SUMO TAN");
  132. Console.Write("Character:");
  133. choice = Console.ReadLine().ToLower();
  134. Console.Clear();
  135. int health, stamina;
  136. switch (choice)
  137. {
  138. case "1":
  139. case "john":
  140. case "claymore":
  141. case "john claymore":
  142.  
  143. {
  144. if (choice == "1" || choice == "john" || choice == "claymore" || choice == "john claymore")
  145. {
  146. health = 100;
  147. stamina = 50;
  148. int attack;
  149.  
  150. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  151. Console.WriteLine(" -STAMINA:" + stamina + "%");
  152. bool Fight1 = true;
  153. Console.WriteLine("The Purge has now begun");
  154. Console.WriteLine("You are now to encounter enemies along the way");
  155. int j_rottenhp = 100, j_rottenstamina = 100;
  156. while (Fight1)
  157. {
  158. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  159. Console.WriteLine(" -STAMINA:" + stamina + "%");
  160. Console.WriteLine("JOHNNY ROTTEN:");
  161. Console.WriteLine("Health: " + j_rottenhp);
  162. Console.WriteLine("Stamina: " + j_rottenstamina);
  163. Console.WriteLine("Choose your attack");
  164. Console.WriteLine("1- Machine Gun attack (-20 hp : 5 stamina)");
  165. Console.WriteLine("2- Mega Pistol Attack (- 30 hp : 7 stamina)");
  166. Console.Write("Attack: ");
  167. attack = int.Parse(Console.ReadLine());
  168. if (attack == 1)
  169. {
  170. stamina -= 5;
  171. j_rottenhp -= 20;
  172. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  173. Console.WriteLine("Health: " + j_rottenhp);
  174. Console.WriteLine("Stamina: " + j_rottenstamina);
  175. if (j_rottenhp <= 0)
  176. {
  177. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  178. Console.WriteLine("Health: " + j_rottenhp);
  179. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  180. break;
  181. }
  182.  
  183. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  184. Console.WriteLine("Your health decreases - 30");
  185. health -= 30;
  186. if (health == 0)
  187. {
  188. Lose();
  189. }
  190. }
  191. else if (attack == 2)
  192. {
  193. stamina -= 7;
  194. j_rottenhp -= 30;
  195. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  196. Console.WriteLine("Health: " + j_rottenhp);
  197. Console.WriteLine("Stamina: " + j_rottenstamina);
  198. if (j_rottenhp <= 0)
  199. {
  200. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  201. Console.WriteLine("Health: " + j_rottenhp);
  202. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  203. Fight1 = false;
  204. }
  205. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  206. Console.WriteLine("Your health decreases - 30");
  207. health -= 30;
  208. if (health == 0)
  209. {
  210. Lose();
  211. }
  212. }
  213. else
  214. {
  215. Console.WriteLine("Please enter a valid command");
  216. Console.WriteLine("Press 'Enter' to go back");
  217. Console.ReadLine();
  218. }
  219. }
  220. health = 100;
  221. stamina = 100;
  222. int k_shadeyhp = 150, k_shadeystamina = 30;
  223. bool Fight2 = true;
  224. while (Fight2)
  225. {
  226.  
  227. int attack1;
  228. Console.WriteLine("New enemy: Kim Shadey. . .");
  229. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  230. Console.WriteLine(" -STAMINA:" + stamina + "%");
  231. Console.WriteLine("KIM SHADEY:");
  232. Console.WriteLine("Health: " + k_shadeyhp);
  233. Console.WriteLine("Stamina: " + k_shadeystamina);
  234. Console.WriteLine("Choose your attack");
  235. Console.WriteLine("1- Machine Gun Attack (-20 hp : 5 stamina)");
  236. Console.WriteLine("2- Mega Pistol Attack (- 30 hp : 7 stamina)");
  237. attack1 = int.Parse(Console.ReadLine());
  238. if (attack1 == 1)
  239. {
  240. stamina -= 5;
  241. k_shadeyhp -= 20;
  242. Console.WriteLine("KIM SHADEY GOT HURT");
  243. Console.WriteLine("Health: " + k_shadeyhp);
  244. Console.WriteLine("Stamina: " + k_shadeystamina);
  245. if (k_shadeyhp <= 0)
  246. {
  247. Console.WriteLine("KIM SHADEY IS DOWN");
  248. Console.WriteLine("Health: " + j_rottenhp);
  249. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  250. Fight2 = false;
  251. }
  252.  
  253. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  254. Console.WriteLine("Your health decreases - 25");
  255. health -= 25;
  256. if (health == 0)
  257. {
  258. Lose();
  259. }
  260. }
  261. else if (attack1 == 2)
  262. {
  263. stamina -= 7;
  264. k_shadeyhp -= 30;
  265. Console.WriteLine("KIM SHADEY GOT HURT");
  266. Console.WriteLine("Health: " + k_shadeyhp);
  267. Console.WriteLine("Stamina: " + k_shadeystamina);
  268. if (k_shadeyhp <= 0)
  269. {
  270. Console.WriteLine("KIM SHADEY IS DOWN");
  271. Console.WriteLine("Health: " + k_shadeyhp);
  272. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  273. Fight2 = false;
  274. }
  275. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  276. Console.WriteLine("Your health decreases - 30");
  277. health -= 30;
  278. if (health == 0)
  279. {
  280. Lose();
  281. }
  282. }
  283. else
  284. {
  285. Console.WriteLine("Please enter a valid command");
  286. Console.WriteLine("Press 'Enter' to go back");
  287. Console.ReadLine();
  288. }
  289. }
  290.  
  291. health = 100;
  292. stamina = 100;
  293. int j_hp = 160, j_stamina = 30;
  294. bool fight3 = true;
  295. while (fight3)
  296. {
  297.  
  298. int attack1;
  299. Console.WriteLine("New enemy: Jay Brown. . .");
  300. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  301. Console.WriteLine(" -STAMINA:" + stamina + "%");
  302. Console.WriteLine("Jay Brown:");
  303. Console.WriteLine("Health: " + j_hp);
  304. Console.WriteLine("Stamina: " + j_stamina);
  305. Console.WriteLine("Choose your attack");
  306. Console.WriteLine("1- Machine Gun Attack (-20 hp : 5 stamina)");
  307. Console.WriteLine("2- Mega Pistol Attack (- 30 hp : 7 stamina)");
  308. attack1 = int.Parse(Console.ReadLine());
  309. if (attack1 == 1)
  310. {
  311. stamina -= 5;
  312. j_hp -= 20;
  313. Console.WriteLine("Jay Brown GOT HURT");
  314. Console.WriteLine("Health: " + j_hp);
  315. Console.WriteLine("Stamina: " + j_stamina);
  316. if (j_hp <= 0)
  317. {
  318. Console.WriteLine("Jay Brown IS DOWN");
  319. Console.WriteLine("Health: " + j_hp);
  320. Console.WriteLine("You have successfully beat JAY BROWN!!");
  321. Win();
  322. }
  323.  
  324. Console.WriteLine("Jay Brown FIGHTS BACKS");
  325. Console.WriteLine("Your health decreases - 25");
  326. health -= 25;
  327. if (health == 0)
  328. {
  329. Lose();
  330. }
  331. }
  332. else if (attack1 == 2)
  333. {
  334. stamina -= 7;
  335. j_hp -= 30;
  336. Console.WriteLine("JAY BROWN GOT HURT");
  337. Console.WriteLine("Health: " + j_hp);
  338. Console.WriteLine("Stamina: " + j_stamina);
  339. if (j_hp <= 0)
  340. {
  341. Console.WriteLine("JAY BROWN IS DOWN");
  342. Console.WriteLine("Health: " + j_hp);
  343. Console.WriteLine("You have successfully beat JAY BROWN!!");
  344. Win();
  345. }
  346. Console.WriteLine("Jay Brown FIGHTS BACKS");
  347. Console.WriteLine("Your health decreases - 30");
  348. health -= 30;
  349. if (health == 0)
  350. {
  351. Lose();
  352. }
  353. }
  354. else
  355. {
  356. Console.WriteLine("Please enter a valid command");
  357. Console.WriteLine("Press 'Enter' to go back");
  358. Console.ReadLine();
  359. }
  360. }
  361.  
  362.  
  363.  
  364. }
  365. }
  366. break;
  367. case "2":
  368. case "pistol":
  369. case "pete":
  370. case "pistol pete":
  371. {
  372. if (choice == "2" || choice == "pistol" || choice == "pete" || choice == "pistol pete")
  373. {
  374. health = 100;
  375. stamina = 100;
  376. int attack;
  377.  
  378. Console.WriteLine("Pistol Pete-HEALTH:" + health + "%");
  379. Console.WriteLine(" -STAMINA:" + stamina + "%");
  380. bool Fight1 = true;
  381. Console.WriteLine("The Purge has now begun");
  382. Console.WriteLine("You are now to encounter enemies along the way");
  383. int j_rottenhp = 100, j_rottenstamina = 100;
  384. while (Fight1)
  385. {
  386. Console.WriteLine("Pistol Pete-HEALTH:" + health + "%");
  387. Console.WriteLine(" -STAMINA:" + stamina + "%");
  388. Console.WriteLine("JOHNNY ROTTEN:");
  389. Console.WriteLine("Health: " + j_rottenhp);
  390. Console.WriteLine("Stamina: " + j_rottenstamina);
  391. Console.WriteLine("Choose your attack");
  392. Console.WriteLine("1- Snipe (-25 hp : 5 stamina)");
  393. Console.WriteLine("2- Headshot (- 30 hp : 7 stamina)");
  394. Console.Write("Attack: ");
  395. attack = int.Parse(Console.ReadLine());
  396. if (attack == 1)
  397. {
  398. stamina -= 5;
  399. j_rottenhp -= 25;
  400. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  401. Console.WriteLine("Health: " + j_rottenhp);
  402. Console.WriteLine("Stamina: " + j_rottenstamina);
  403. if (j_rottenhp <= 0)
  404. {
  405. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  406. Console.WriteLine("Health: " + j_rottenhp);
  407. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  408. break;
  409. }
  410.  
  411. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  412. Console.WriteLine("Your health decreases - 30");
  413. health -= 30;
  414. if (health == 0)
  415. {
  416. Lose();
  417. }
  418. }
  419. else if (attack == 2)
  420. {
  421. stamina -= 7;
  422. j_rottenhp -= 40;
  423. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  424. Console.WriteLine("Health: " + j_rottenhp);
  425. Console.WriteLine("Stamina: " + j_rottenstamina);
  426. if (j_rottenhp <= 0)
  427. {
  428. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  429. Console.WriteLine("Health: " + j_rottenhp);
  430. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  431. Fight1 = false;
  432. }
  433. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  434. Console.WriteLine("Your health decreases - 30");
  435. health -= 30;
  436. if (health == 0)
  437. {
  438. Lose();
  439. }
  440. }
  441. else
  442. {
  443. Console.WriteLine("Please enter a valid command");
  444. Console.WriteLine("Press 'Enter' to go back");
  445. Console.ReadLine();
  446. }
  447. }
  448. health = 100;
  449. stamina = 100;
  450. int k_shadeyhp = 150, k_shadeystamina = 30;
  451. bool Fight2 = true;
  452. while (Fight2)
  453. {
  454.  
  455. int attack1;
  456. Console.WriteLine("New enemy: Kim Shadey. . .");
  457. Console.WriteLine("Pistol Pete-HEALTH:" + health + "%");
  458. Console.WriteLine(" -STAMINA:" + stamina + "%");
  459. Console.WriteLine("KIM SHADEY:");
  460. Console.WriteLine("Health: " + k_shadeyhp);
  461. Console.WriteLine("Stamina: " + k_shadeystamina);
  462. Console.WriteLine("Choose your attack");
  463. Console.WriteLine("1- Snipe (-25 hp : 5 stamina)");
  464. Console.WriteLine("2- Headshot (- 30 hp : 7 stamina)");
  465. attack1 = int.Parse(Console.ReadLine());
  466. if (attack1 == 1)
  467. {
  468. stamina -= 5;
  469. k_shadeyhp -= 25;
  470. Console.WriteLine("KIM SHADEY GOT HURT");
  471. Console.WriteLine("Health: " + k_shadeyhp);
  472. Console.WriteLine("Stamina: " + k_shadeystamina);
  473. if (k_shadeyhp <= 0)
  474. {
  475. Console.WriteLine("KIM SHADEY IS DOWN");
  476. Console.WriteLine("Health: " + j_rottenhp);
  477. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  478. Fight2 = false;
  479. }
  480.  
  481. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  482. Console.WriteLine("Your health decreases - 25");
  483. health -= 25;
  484. if (health == 0)
  485. {
  486. Lose();
  487. }
  488. }
  489. else if (attack1 == 2)
  490. {
  491. stamina -= 7;
  492. k_shadeyhp -= 40;
  493. Console.WriteLine("KIM SHADEY GOT HURT");
  494. Console.WriteLine("Health: " + k_shadeyhp);
  495. Console.WriteLine("Stamina: " + k_shadeystamina);
  496. if (k_shadeyhp <= 0)
  497. {
  498. Console.WriteLine("KIM SHADEY IS DOWN");
  499. Console.WriteLine("Health: " + k_shadeyhp);
  500. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  501. Fight2 = false;
  502. }
  503. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  504. Console.WriteLine("Your health decreases - 30");
  505. health -= 30;
  506. if (health == 0)
  507. {
  508. Lose();
  509. }
  510. }
  511. else
  512. {
  513. Console.WriteLine("Please enter a valid command");
  514. Console.WriteLine("Press 'Enter' to go back");
  515. Console.ReadLine();
  516. }
  517. }
  518.  
  519. health = 100;
  520. stamina = 100;
  521. int j_hp = 160, j_stamina = 30;
  522. bool fight3 = true;
  523. while (fight3)
  524. {
  525.  
  526. int attack1;
  527. Console.WriteLine("New enemy: Jay Brown. . .");
  528. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  529. Console.WriteLine(" -STAMINA:" + stamina + "%");
  530. Console.WriteLine("Jay Brown:");
  531. Console.WriteLine("Health: " + j_hp);
  532. Console.WriteLine("Stamina: " + j_stamina);
  533. Console.WriteLine("Choose your attack");
  534. Console.WriteLine("1- Snipe (-25 hp : 5 stamina)");
  535. Console.WriteLine("2- Headshot (- 30 hp : 7 stamina)");
  536. attack1 = int.Parse(Console.ReadLine());
  537. if (attack1 == 1)
  538. {
  539. stamina -= 5;
  540. j_hp -= 20;
  541. Console.WriteLine("Jay Brown GOT HURT");
  542. Console.WriteLine("Health: " + j_hp);
  543. Console.WriteLine("Stamina: " + j_stamina);
  544. if (j_hp <= 0)
  545. {
  546. Console.WriteLine("Jay Brown IS DOWN");
  547. Console.WriteLine("Health: " + j_hp);
  548. Console.WriteLine("You have successfully beat JAY BROWN!!");
  549. Win();
  550. }
  551.  
  552. Console.WriteLine("Jay Brown FIGHTS BACKS");
  553. Console.WriteLine("Your health decreases - 25");
  554. health -= 25;
  555. if (health == 0)
  556. {
  557. Lose();
  558. }
  559. }
  560. else if (attack1 == 2)
  561. {
  562. stamina -= 7;
  563. j_hp -= 30;
  564. Console.WriteLine("JAY BROWN GOT HURT");
  565. Console.WriteLine("Health: " + j_hp);
  566. Console.WriteLine("Stamina: " + j_stamina);
  567. if (j_hp <= 0)
  568. {
  569. Console.WriteLine("JAY BROWN IS DOWN");
  570. Console.WriteLine("Health: " + j_hp);
  571. Console.WriteLine("You have successfully beat JAY BROWN!!");
  572. Win();
  573. }
  574. Console.WriteLine("Jay Brown FIGHTS BACKS");
  575. Console.WriteLine("Your health decreases - 30");
  576. health -= 30;
  577. if (health == 0)
  578. {
  579. Lose();
  580. }
  581. }
  582. else
  583. {
  584. Console.WriteLine("Please enter a valid command");
  585. Console.WriteLine("Press 'Enter' to go back");
  586. Console.ReadLine();
  587. }
  588. }
  589.  
  590. }
  591. }
  592. break;
  593. case "3":
  594. case "sumo":
  595. case "tan":
  596. case "sumo tan":
  597. {
  598. if (choice == "3" || choice == "sumo" || choice == "tan" || choice == "sumo tan")
  599. {
  600. health = 100;
  601. stamina = 100;
  602. int attack;
  603.  
  604. Console.WriteLine("Sumo Tan-HEALTH:" + health + "%");
  605. Console.WriteLine(" -STAMINA:" + stamina + "%");
  606. bool Fight1 = true;
  607. Console.WriteLine("The Purge has now begun");
  608. Console.WriteLine("You are now to encounter enemies along the way");
  609. int j_rottenhp = 100, j_rottenstamina = 100;
  610. while (Fight1)
  611. {
  612. Console.WriteLine("Sumo Tan-HEALTH:" + health + "%");
  613. Console.WriteLine(" -STAMINA:" + stamina + "%");
  614. Console.WriteLine("JOHNNY ROTTEN:");
  615. Console.WriteLine("Health: " + j_rottenhp);
  616. Console.WriteLine("Stamina: " + j_rottenstamina);
  617. Console.WriteLine("Choose your attack");
  618. Console.WriteLine("1- Flamethrower (-30 hp : 5 stamina)");
  619. Console.WriteLine("2- Acid Rain (- 35 hp : 7 stamina)");
  620. Console.Write("Attack: ");
  621. attack = int.Parse(Console.ReadLine());
  622. if (attack == 1)
  623. {
  624. stamina -= 5;
  625. j_rottenhp -= 25;
  626. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  627. Console.WriteLine("Health: " + j_rottenhp);
  628. Console.WriteLine("Stamina: " + j_rottenstamina);
  629. if (j_rottenhp <= 0)
  630. {
  631. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  632. Console.WriteLine("Health: " + j_rottenhp);
  633. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  634. break;
  635. }
  636.  
  637. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  638. Console.WriteLine("Your health decreases - 30");
  639. health -= 30;
  640. if (health == 0)
  641. {
  642. Lose();
  643. }
  644. }
  645. else if (attack == 2)
  646. {
  647. stamina -= 7;
  648. j_rottenhp -= 40;
  649. Console.WriteLine("JOHNNY ROTTEN GOT HURT");
  650. Console.WriteLine("Health: " + j_rottenhp);
  651. Console.WriteLine("Stamina: " + j_rottenstamina);
  652. if (j_rottenhp <= 0)
  653. {
  654. Console.WriteLine("JOHNNY ROTTEN IS DOWN");
  655. Console.WriteLine("Health: " + j_rottenhp);
  656. Console.WriteLine("You have successfully beat JOHNNY ROTTEN!! Onto the next");
  657. Fight1 = false;
  658. }
  659. Console.WriteLine("JOHNNY ROTTEN FIGHT BACKS");
  660. Console.WriteLine("Your health decreases - 30");
  661. health -= 30;
  662. if (health == 0)
  663. {
  664. Lose();
  665. }
  666. }
  667. else
  668. {
  669. Console.WriteLine("Please enter a valid command");
  670. Console.WriteLine("Press 'Enter' to go back");
  671. Console.ReadLine();
  672. }
  673. }
  674. health = 100;
  675. stamina = 100;
  676. int k_shadeyhp = 150, k_shadeystamina = 30;
  677. bool Fight2 = true;
  678. while (Fight2)
  679. {
  680.  
  681. int attack1;
  682. Console.WriteLine("New enemy: Kim Shadey. . .");
  683. Console.WriteLine("Sumo Tan-HEALTH:" + health + "%");
  684. Console.WriteLine(" -STAMINA:" + stamina + "%");
  685. Console.WriteLine("KIM SHADEY:");
  686. Console.WriteLine("Health: " + k_shadeyhp);
  687. Console.WriteLine("Stamina: " + k_shadeystamina);
  688. Console.WriteLine("Choose your attack");
  689. Console.WriteLine("1- Flamethrower (-30 hp : 5 stamina)");
  690. Console.WriteLine("2- Acid Rain (- 35 hp : 7 stamina)");
  691. attack1 = int.Parse(Console.ReadLine());
  692. if (attack1 == 1)
  693. {
  694. stamina -= 5;
  695. k_shadeyhp -= 25;
  696. Console.WriteLine("KIM SHADEY GOT HURT");
  697. Console.WriteLine("Health: " + k_shadeyhp);
  698. Console.WriteLine("Stamina: " + k_shadeystamina);
  699. if (k_shadeyhp <= 0)
  700. {
  701. Console.WriteLine("KIM SHADEY IS DOWN");
  702. Console.WriteLine("Health: " + j_rottenhp);
  703. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  704. Fight2 = false;
  705. }
  706.  
  707. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  708. Console.WriteLine("Your health decreases - 25");
  709. health -= 25;
  710. if (health == 0)
  711. {
  712. Lose();
  713. }
  714. }
  715. else if (attack1 == 2)
  716. {
  717. stamina -= 7;
  718. k_shadeyhp -= 40;
  719. Console.WriteLine("KIM SHADEY GOT HURT");
  720. Console.WriteLine("Health: " + k_shadeyhp);
  721. Console.WriteLine("Stamina: " + k_shadeystamina);
  722. if (k_shadeyhp <= 0)
  723. {
  724. Console.WriteLine("KIM SHADEY IS DOWN");
  725. Console.WriteLine("Health: " + k_shadeyhp);
  726. Console.WriteLine("You have successfully beat KIM SHADEY!!");
  727. Fight2 = false;
  728. }
  729. Console.WriteLine("KIM SHADEY FIGHTS BACKS");
  730. Console.WriteLine("Your health decreases - 30");
  731. health -= 30;
  732. if (health == 0)
  733. {
  734. Lose();
  735. }
  736. }
  737. else
  738. {
  739. Console.WriteLine("Please enter a valid command");
  740. Console.WriteLine("Press 'Enter' to go back");
  741. Console.ReadLine();
  742. }
  743. }
  744.  
  745. health = 100;
  746. stamina = 100;
  747. int j_hp = 160, j_stamina = 30;
  748. bool fight3 = true;
  749. while (fight3)
  750. {
  751.  
  752. int attack1;
  753. Console.WriteLine("New enemy: Jay Brown. . .");
  754. Console.WriteLine("John Claymore-HEALTH:" + health + "%");
  755. Console.WriteLine(" -STAMINA:" + stamina + "%");
  756. Console.WriteLine("Jay Brown:");
  757. Console.WriteLine("Health: " + j_hp);
  758. Console.WriteLine("Stamina: " + j_stamina);
  759. Console.WriteLine("Choose your attack");
  760. Console.WriteLine("1- Flamethrower (-30 hp : 5 stamina)");
  761. Console.WriteLine("2- Acid Rain (- 35 hp : 7 stamina)");
  762. attack1 = int.Parse(Console.ReadLine());
  763. if (attack1 == 1)
  764. {
  765. stamina -= 5;
  766. j_hp -= 20;
  767. Console.WriteLine("Jay Brown GOT HURT");
  768. Console.WriteLine("Health: " + j_hp);
  769. Console.WriteLine("Stamina: " + j_stamina);
  770. if (j_hp <= 0)
  771. {
  772. Console.WriteLine("Jay Brown IS DOWN");
  773. Console.WriteLine("Health: " + j_hp);
  774. Console.WriteLine("You have successfully beat JAY BROWN!!");
  775. Win();
  776. }
  777.  
  778. Console.WriteLine("Jay Brown FIGHTS BACKS");
  779. Console.WriteLine("Your health decreases - 25");
  780. health -= 25;
  781. if (health == 0)
  782. {
  783. Lose();
  784. }
  785. }
  786. else if (attack1 == 2)
  787. {
  788. stamina -= 7;
  789. j_hp -= 30;
  790. Console.WriteLine("JAY BROWN GOT HURT");
  791. Console.WriteLine("Health: " + j_hp);
  792. Console.WriteLine("Stamina: " + j_stamina);
  793. if (j_hp <= 0)
  794. {
  795. Console.WriteLine("JAY BROWN IS DOWN");
  796. Console.WriteLine("Health: " + j_hp);
  797. Console.WriteLine("You have successfully beat JAY BROWN!!");
  798. Win();
  799. }
  800. Console.WriteLine("Jay Brown FIGHTS BACKS");
  801. Console.WriteLine("Your health decreases - 30");
  802. health -= 30;
  803. if (health == 0)
  804. {
  805. Lose();
  806. }
  807. }
  808. else
  809. {
  810. Console.WriteLine("Please enter a valid command");
  811. Console.WriteLine("Press 'Enter' to go back");
  812. Console.ReadLine();
  813. }
  814. }
  815.  
  816. }
  817.  
  818.  
  819.  
  820. }
  821. break;
  822.  
  823. default:
  824.  
  825. Console.WriteLine("Choice is Invalid");
  826. Console.WriteLine("Press 'Enter' to pick another option.");
  827. Console.ReadLine();
  828. Console.Clear();
  829. first();
  830. break;
  831.  
  832.  
  833.  
  834.  
  835. }
  836.  
  837.  
  838. }
  839. public static void Lose()
  840. {
  841. Console.Clear();
  842. Console.WriteLine("YOU DIED!");
  843. Console.WriteLine("Would you like to participate again?");
  844. Console.WriteLine("Press 'Enter' to participate again.");
  845. Console.ReadLine();
  846. Console.Clear();
  847. Title();
  848.  
  849. }
  850.  
  851. public static void Win()
  852. {
  853. Console.Clear();
  854. Console.WriteLine("Congratulations,you survive the purge.");
  855. Console.WriteLine("Would you like to participate again?");
  856. Console.WriteLine("Press 'Enter' to participate again.");
  857. Console.ReadLine();
  858. Console.Clear();
  859. Title();
  860. }
  861.  
  862.  
  863.  
  864.  
  865. }
  866. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement