Advertisement
Kenkaster001

JANTU CODE

Aug 4th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.57 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading;
  6. using System.Media;
  7.  
  8.  
  9.  
  10. namespace Practice
  11. {
  12. class Program
  13. {
  14. static void Main(string[] args)
  15. {
  16.  
  17. bool Practice = true;
  18.  
  19. while (Practice)
  20. {
  21. //Notes.Play();
  22.  
  23.  
  24. string p1choice, p2choice;
  25. //string MJ, Feel_Younghusband, KingBadger, ChickenLittle;
  26.  
  27. List<string> chars = new List<string>();
  28. List<string> MJmoves = new List<string>();
  29. List<int> MJdamages = new List<int>();
  30. List<string> Feelmoves = new List<string>();
  31. List<int> Feeldamages = new List<int>();
  32. List<string> Kingmoves = new List<string>();
  33. List<int> Kingdamages = new List<int>();
  34. List<string> Chickenmoves = new List<string>();
  35. List<int> Chickendamages = new List<int>();
  36.  
  37.  
  38. List<string> p1Moves = new List<string>();
  39. List<string> p2Moves = new List<string>();
  40. List<int> p1damage = new List<int>();
  41. List<int> p2damage = new List<int>();
  42.  
  43. List<int> MJhitpoints = new List<int>();
  44. List<int> FEELhitpoints = new List<int>();
  45. List<int> KINGhitpoints = new List<int>();
  46. List<int> CHICKENhitpoints = new List<int>();
  47.  
  48. bool p1turn = true;
  49. int p1Life = 150;
  50. int p2Life = 150;
  51.  
  52. int movechoice;
  53. string choice = "Invalid";
  54.  
  55. string p1nation = "none";
  56. string p2nation = "none";
  57.  
  58. int angermeter = 0;
  59. int missilemeter = 0;
  60. int speakmeter = 0;
  61. int p1skill = 0;
  62. int p2skill = 0;
  63.  
  64. string p1special = "none";
  65. string p2special = "none";
  66.  
  67.  
  68. MJmoves.Add("Sham God");
  69. MJmoves.Add("3 pointer");
  70. MJmoves.Add("Lay-up");
  71. MJmoves.Add("Posterize");
  72.  
  73. Feelmoves.Add("Curve Ball");
  74. Feelmoves.Add("Knuckle shot");
  75. Feelmoves.Add("Sliding tackle");
  76. Feelmoves.Add("Nutmeg");
  77.  
  78. Kingmoves.Add("4-move checkmate");
  79. Kingmoves.Add("Hit the queen!");
  80. Kingmoves.Add("Castle formation");
  81. Kingmoves.Add("Horse kick");
  82.  
  83. Chickenmoves.Add("Cock a doodle doo");
  84. Chickenmoves.Add("Tik tilaok");
  85. Chickenmoves.Add("Ka Ka ro ok");
  86. Chickenmoves.Add("Bu Kaak!");
  87.  
  88. MJdamages.Add(30);
  89. MJdamages.Add(20);
  90. MJdamages.Add(15);
  91. MJdamages.Add(40);
  92.  
  93. Feeldamages.Add(15);
  94. Feeldamages.Add(20);
  95. Feeldamages.Add(30);
  96. Feeldamages.Add(40);
  97.  
  98. Kingdamages.Add(50);
  99. Kingdamages.Add(30);
  100. Kingdamages.Add(30);
  101. Kingdamages.Add(15);
  102.  
  103. Chickendamages.Add(25);
  104. Chickendamages.Add(15);
  105. Chickendamages.Add(40);
  106. Chickendamages.Add(30);
  107.  
  108. Console.WriteLine(@"
  109.  
  110.  
  111.  
  112.  
  113. /(((((((((/. /@@@@@@@@@@* .(#########/
  114. .(((/. /(((, &@@@* /@@@% /###/ ,####
  115. .((/ ,((* @@@ .@@@ (##, (##
  116. /(( *(( *@@ ,@@, ##* ##/
  117. /(/ .(( *@@ @@. ##. (#/
  118. .(( *(/ @@ .@@ (#, ##
  119. /(, (( ,@@ @@. ## /#/
  120. /(, (( *@& @@, ## /#/
  121. *(/ *((///**. @@ %%#(* ##,
  122. ((. *///((. .,////, *%%.&@( .*#%%%( *##
  123. ((, //*. ((. &@% ,//* #%%* @@% *## .#%# *##
  124. ((( */* /(( (@@, .//. ,%%. /@@* .##/ #%( .##(
  125. (((/ */,.(((. %@@&..*. *%# @@@( ,###, /( (##(
  126. .(((((((/,/*.(, %@@@@@@@ %% @# *############(.
  127. // (%/
  128. // ./* #%, %%
  129. // ,/, /%/ .%#
  130. ./* // %% #%,
  131. */* //. ,%% #%(
  132. ,// ,// .%%* .%%*
  133. *//, *//, *%%( /%%#
  134. .////*,..,,*///* .#%%%#/*,*/#%%%%,
  135. ");
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. Console.WriteLine();
  143.  
  144.  
  145.  
  146. Console.WriteLine("\t\t\t\t\t\t\tWelcome to our game, green atenean!");
  147. Console.ReadKey();
  148. Console.Clear();
  149.  
  150. string joke = "\t\t\t\t\t\t\t\tBut wait we have a joke...";
  151.  
  152. for (int i = 0; i < joke.Length; i++)
  153.  
  154. {
  155. Console.Write(joke[i]);
  156.  
  157. System.Threading.Thread.Sleep(50);
  158.  
  159. }
  160.  
  161.  
  162.  
  163. Console.ReadKey();
  164. Console.Clear();
  165.  
  166. string question = "\t\t\t\t\t\t\t\tHow was the Ateneo built?";
  167.  
  168. for (int i = 0; i < question.Length; i++)
  169.  
  170. {
  171. Console.Write(question[i]);
  172.  
  173. System.Threading.Thread.Sleep(50);
  174.  
  175. }
  176.  
  177.  
  178. Console.ReadKey();
  179. Console.Clear();
  180.  
  181. string how = "\t\t\t\t\t\t\t\tHow broski?";
  182.  
  183. for (int i = 0; i < how.Length; i++)
  184.  
  185. {
  186. Console.Write(how[i]);
  187.  
  188. System.Threading.Thread.Sleep(50);
  189.  
  190. }
  191.  
  192. //Console.WriteLine("How broski?");
  193. Console.ReadKey();
  194.  
  195. string ans = "\t\t\t\t\t\t\t\tEdi ETENEO hahahaha!";
  196.  
  197. for (int i = 0; i < ans.Length; i++)
  198.  
  199. {
  200. Console.Write(ans[i]);
  201.  
  202. System.Threading.Thread.Sleep(50);
  203.  
  204. }
  205.  
  206. //Console.WriteLine("Edi Eteneo hahahaha!");
  207. Console.ReadKey();
  208. Console.Clear();
  209.  
  210. string start = "\t\t\t\t\t\t\t\tEnough jokes, time to play.";
  211.  
  212. for (int i = 0; i < start.Length; i++)
  213.  
  214. {
  215. Console.Write(start[i]);
  216.  
  217. System.Threading.Thread.Sleep(50);
  218.  
  219. }
  220.  
  221. Console.ReadKey();
  222. Console.Clear();
  223.  
  224. while (choice == "Invalid")
  225. {
  226.  
  227.  
  228. Console.WriteLine("Where do you come from?");
  229. Console.WriteLine();
  230. Console.WriteLine("Philippines \tChina \t America");
  231.  
  232. while (choice == "Invalid")
  233. {
  234.  
  235.  
  236. Console.Write("Player 1: ");
  237. p1nation = Console.ReadLine();
  238. choice = "Valid";
  239.  
  240.  
  241.  
  242.  
  243. if (p1nation == "Philippines")
  244. {
  245. p1special = "Trashtalk meter";
  246. p1skill = angermeter;
  247.  
  248. }
  249. else if (p1nation == "China")
  250. {
  251. p1special = "Missile launch meter";
  252. p1skill = missilemeter;
  253. }
  254. else if (p1nation == "America")
  255. {
  256. p1special = "Straight English meter";
  257. p1skill = speakmeter;
  258. }
  259. else
  260. {
  261. Console.WriteLine("Country not found...");
  262. Console.WriteLine("\nPlease choose again");
  263. choice = "Invalid";
  264. }
  265. }
  266.  
  267. choice = "Invalid";
  268.  
  269. while (choice == "Invalid")
  270. {
  271.  
  272.  
  273. Console.Write("Player 2: ");
  274. p2nation = Console.ReadLine();
  275. choice = "Valid";
  276.  
  277.  
  278.  
  279. if (p2nation == "Philippines")
  280. {
  281. p2special = "Trashtalk meter";
  282. p2skill = angermeter;
  283. Console.Clear();
  284. }
  285. else if (p2nation == "China")
  286. {
  287. p2special = "Missile launch meter";
  288. p2skill = missilemeter;
  289. Console.Clear();
  290.  
  291. }
  292. else if (p2nation == "America")
  293. {
  294. p2special = "Straight English meter";
  295. p2skill = speakmeter;
  296. Console.Clear();
  297. }
  298. else
  299. {
  300. Console.WriteLine("Country not found...");
  301. Console.WriteLine("\nPlease choose again");
  302. choice = "Invalid";
  303. }
  304. }
  305. }
  306.  
  307. Console.Clear();
  308.  
  309. Console.WriteLine("Choose your athlete!");
  310.  
  311. Console.ReadKey();
  312.  
  313. Console.WriteLine("Athlete 1: MJ (Michael Jackson)");
  314. Console.WriteLine("Basketball");
  315. Console.WriteLine();
  316. Console.WriteLine(@"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  317. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  318. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  319. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%
  320. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%
  321. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%
  322. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .%%%%%%%%%%%%%%%%%%%%%%%%%%
  323. %%%%%%%%%%%%%%%%%%%%%%%%%%%, %%%%%%%%%%%%%%%%%%%%%%%%%%%
  324. %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%
  325. %%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%
  326. %%%%%%%%%%%%%%%%%%%%%%%%% %%/ %%%%%%%%%%%%%%%%%%%%%%%%%%%
  327. %%%%%%%%%%%%%%%%%%%%%%% %%% %%%%%%%%%%%%%%%%%%%%%%%%%%
  328. %%%%%%%%%%%%%%%%%%%%%%%%%* ,%%%%%%%%%%%%%%%%%%%%%%%
  329. %%%%%%%%%%%%%%%%%%%%%%* #%%%%%%%% %%%%%%%%%%%%%%%%%%%%
  330. %%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%% %,%%%%%%%%%%%%%%%%
  331. %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%
  332. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%");
  333.  
  334. chars.Add("MJ");
  335.  
  336. Console.ReadKey();
  337. Console.Clear();
  338.  
  339. Console.WriteLine("Athlete 2: Feel_Younghusband");
  340. Console.WriteLine("Football");
  341. Console.WriteLine();
  342. Console.WriteLine(@"%%%%&%#########%#%#####(##&%%%%#((###%@@###&##%#%%%#%#%####
  343. #%##%##########%#%######%#%#%%%%%%&%%%@@#&#%##%###%#&######
  344. #%##%#%###%%%%#%#%#%%%&%%#%#%####.....,@#%#%%%####&#%#%%%%%
  345. %%%%&%%##%&%###%#%#%####%%&%&%&% .%%%&%%#%%%%#%/&(*,%
  346. ###############%#%#%####%#%#%#%# **. /*(.%###%#%#%%##%(#((#
  347. (((#((((#(#(((((#%%##%%%%(#(#(((#(.*///((%#########%#%#,*%%
  348. ##%%#%(%%####(#((#((((#(#(#(##%#(#((,*,*(**/(/**/(#%#((**#(
  349. ######(((((((((((((((((((((((((((((((/*,,/*//*,,,,**#&(**((
  350. ((((((((((###%%%%%#%%%%#((#((((((((*.,**/@(*,,..., .**/*,/(
  351. (((((((((((#((((((((######(##(#(#(,@(/****.,,,. ### ,.,.##%
  352. (((((((((((((((((((((((((#((((((((.//&%#,..,,,,*(((((((((((
  353. (((((((((((((((((((((((((((((((((( ..@,.,,,,,,*((((((((((((
  354. ((((((((((((((((((((((((((((((((((.,. .,,,,,,,*((((((((((((
  355. ((((((((((((((((((((((((///((/////.. ..,,,,,..*(((((((((((/
  356. (((((((((((((((((((#%%&&&&&&&%%(*/ .,,,,,,.,,.(((((((((((((
  357. ((((((((((((((((((((((((((((((/,.,***,,,,, ,,*(((((((((((((
  358. (/(((((((((((((((((((((((((((#*///*,**,,.,,*,/(((((((((((((
  359. (((((((((((((((((((((((((((((.(#.... ..,***/,*(((((((((((((
  360. (((((((((((((((((((((((((((((##,,.*, */,,,/,,((((((((((((((
  361. ((((((((/((((((((((/(((((((((#,,, //***..,,(((#(((((((((((
  362. (((((((((((((((((((((((((((((,* ./*@,%*,,/(((((((((((/((/(
  363. ((((((((/(((((((((((((((((((,.../*%,&%..@(/*#((((((((((((((
  364. (/((//(//(((((((((((((((((((*,#/,,,...##%%.*((((/(/(///(/((
  365. ((///(((((((/(/(((((((((((((,#/*... *((((*,,((((((((((((/((
  366. (/((/((((((((((((((((/(((//((,.*&(%/#%&#%(/((((((((((((/(((
  367. (((/((///((/((((/((((/((((((*,,/%(%(#(%((((((((((((/(((((((
  368. (((#((((((((/(((((((((/////*,,.///(((((//////(((///((#(((((
  369. /(((/(((((/((&@@@@@(#(((#@*,..(((((((((((((/((((((//(/(//(/
  370. (/(//((((((/&%&&@*&#////@%(/((((((((((((((((((((((((/(((/((
  371. (((((((/((/(%%/##(%%((@%#((((#(##(((((/#((//((((/((((/%((//
  372. %#&%((((//////** .,/#(//*(//////////////(///((((((((((((#((
  373. ///////////(//((((%&&&%&%%##((((((((/((((/(//(((((///(/(((/
  374. /((((/(((/(/////((////(/((//((((/(/(///((#%#&&&&#%#(##/((((
  375. ((((/((((/((((/(((((((((/((/((((/#(((((//////(/(///((/((/(/
  376. #((((((/((((((/((/(/(((((((//(((((/(/((//(((((/((((((((/((/
  377. (((((((((/((/((((#(((((((((((/(((((((/((/((((((/((//(/(///(");
  378.  
  379. Console.ReadKey();
  380. Console.Clear();
  381.  
  382. chars.Add("Feel Younghusband");
  383.  
  384. Console.WriteLine("Athlete 3: KingBadger");
  385. Console.WriteLine("Chess");
  386. Console.WriteLine();
  387. Console.WriteLine(@" .........,,,,,,,,*********/////////////////////////**********,,,,,,,.........
  388. ..........,,,,,,,**********///////////////////////**********,,,,,,,,.........
  389. ..........,,,,,,,,**********////////// ////////***********,,,,,,,,..........
  390. .........,,,,,,,,,**************/// //*************,,,,,,,,,..........
  391. ...........,,,,,,,,,****************/(/**************,,,,,,,,,,..........
  392. ...........,,,,,,,,,,,,*********/@ . ,*********,,,,,,,,,,,...........
  393. ...........,,,,,,,,,,,,,*******,* *****,,,,,,,,,,,,,,............
  394. ..............,,,,,,,,,,,,,,,,,, ./,,,,,,,,,,,,,,,,.............
  395. ...............,,,,,,,,,,,,,,/,,(*,,,,,,,,,,,,...............
  396. ...................,,,,,,(. *,,,,,...................
  397. ........................ &........................
  398. .................... &...................
  399. .............. %*.............
  400. ... *(,..
  401. . %%,
  402. .. *..(
  403. *.,, *(#(,%
  404. .. ..@,*
  405. ..*/((#&@&####/,/((((#@####, ... ..,,,###%@#((((/,(######/,..
  406. (, ,******#@@@@@@@@@@@@@@@@.**,.......,,*(.%@@@@@@@@@@@@@@@%,............
  407. /@@@@@@@@@@@@@@@@@@@@@@@@@@...... ........*@@@@@@@@@@@@@@@@@@@@@@@@
  408. @@@@@@@@@@@@@@@@@@@@@@@@&,.......,.... .................,@@@@@@@@@@@@@@@@@@@");
  409.  
  410. Console.ReadKey();
  411. Console.Clear();
  412.  
  413.  
  414.  
  415. chars.Add("KingBadger");
  416.  
  417. Console.WriteLine("Athlete 4: ChickenLittle");
  418. Console.WriteLine("Sabong");
  419. Console.WriteLine();
  420. Console.WriteLine(@"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  421. @@@@@@@@@@@@@@@@@@@@@@@(//((@@@@@@@@@@@@@@@
  422. @@@@@@@@@@@@@@@@@@@@@&/*///(/@@@@@@@@@@@@@@
  423. @@@@@@@@@@@@@@@@@@@@@/*/*////%@@@@@@@@@@@@@
  424. @@@@@@@@@@@@@@@@@@(((***/*//@@@@@@@@@@@@@@@
  425. @@@@@@@@@@@@@@@@@%/****//(@&//(//((@@@@@@@@
  426. @@@@@@@@@@@@@@@@@(//****@////****////@@@@@@
  427. @@@@@@@@@@@@@@@@@%//***(//**/*******//&@@@@
  428. @@@@@@@@@@@@@@@@@@/****/*//*/********/(@@@@
  429. @@@@@@@@@@@@@@@@@@&**,*******/**/*/////@@@@
  430. @@@@@@@@@@@@@@@@@&&&&*,,&%&@@@@@@//////@@@@
  431. @@@@@@@@@@@@@&&&&&@@&@&@&@&@@@@&@@@#*/@@@@@
  432. @@@@@@@@@@&@&&@@&@@@@@@@@&@&@@@&@&@@@@@@@@@
  433. @@@@@@@@@&%&&@&@&@&@@&@@@@@@&@&&@@@&@@@@@@@
  434. @@@@@@@@&&&%@@@@&@&@@@@@&&@@@@@@@@&&@@@@@@@
  435. @@@@@@@&%&&&&@&@&@&@@@@@@@@@@@@&@@&&&&@@@@@
  436. @@@@@@&&&&&&&&&&@@&@@@@@@&@@@@&@@&%&&%@@@@@
  437. @@@@@@%%%&&&&&&&&&&@@@@@&&&&&&&&&&&%%&&@@@@
  438. @@@@@&%%%%&&&&&&&&&&&&&&&&&&&&&&%%%%%%%@@@@
  439. @@@@@&%%%&&%&%(%&&&&&&&&&&&&&&%##(%%%((%@@@
  440. @@@@@%#%%%&&&%%#((%&&%(#&%%%#((&,..#&&&&#@@
  441. @@@@##(////##(&&,..*%&&%#&&@&/&&.../&&&@#@@
  442. @@@/@@%#%&&&&(&&&&&&&&&%%&&&&&#@&@@@@@@(@@@
  443. @@@@@@%%%%&&&&#&@@&&&&&((#####(/(#####&&@@@
  444. @@@@@@@&#%&&&&&&(((((#**/((/*,/(&&&&&&&@@@@
  445. @@@@@@@@%%%%%%&&%&%&%%%#/(((((%%%%%%%@@@@@@
  446. @@@@@@@@@@@####%%%%%##%%%%%%%%###%@@@@@@@@@
  447. @@@@@@@@@@@@@@@@%(((((((((((&@@@@@@@@@@@@@@
  448. @@@@@@@@@@@@@@@@@@@@@///(#(((#%@@@@@@@@@@@@
  449. @@@@@@@@@@@@@@@@@@@@&#(((#%%##(/(@@@@@@@@@@
  450. @@@@@@@@@@@@@@@@@###((/((/(#####(#@@@@@@@@@
  451. @@@@@@@@@@@@@@@%(##((*//######(///&@@@@@@@@
  452. @@@@@@@@@@@@@&&&%/(((/**/((#%%##(#%&@@@@@@@
  453. @@@@@@@@@@@@&&&#&@@@@@****/(((#####%&@@@@@@
  454. @@@@@@@@@@@&&&%%@@@@@@#////(((((((%#%&@@@@@
  455. @@@@@@@@@@@&&&%@@@@@@@/**//(##%%%%#%&&&@@@@
  456. @@@@@@@@@@@&&&&&&%###@***///((((((/&###@@@@
  457. @@@@@@@@@@@&&&%###@/**(/*///((((((/&##&@@@@
  458. @@@@@@@@@@@@#%#%#/*....*///((((#((/%@@@@@@@
  459. @@@@@@@@@@@@@@@(##.......,,,,.,.,,,,@@@@@@@
  460. @@@@@@@@@@@@@@/#%.......,,,.......,.%@@@@@@
  461. @@@@@@@@@@@@@@@@.......,..,.......,,,@@@@@@
  462. @@@@@@@@@@@@@@@/.......,,,........,,.@@@@@@
  463. @@@@@@@@@@@@@@@........,...........,.@@@@@@
  464. @@@@@@@@@@@@@@.......,,.,.........,..&@@@@@
  465. @@@@@@@@@@@@@@@@@&..,,....... ......%@@@@@@
  466. @@@@@@@@@@@@@@@@@@**%@@,..@@@@@*%@@@@@@@@@@
  467. @@@@@@@@@@@@@@@@@//@@@@@@@@@@@@/#@@@@@@@@@@
  468. @@@@@@@@@@@@@@@(//@@@@@@@@@@@@%**///#///@@@
  469. @@@@@@@@@@@@%(/((@@@@@@@@@@@@@@@@@@@@@@@@@@");
  470.  
  471.  
  472. Console.ReadKey();
  473. Console.Clear();
  474.  
  475. chars.Add("Chicken Little");
  476.  
  477. for (int i = 0; i < chars.Count; i++)
  478. {
  479.  
  480. Console.WriteLine(chars[i]);
  481.  
  482. }
  483.  
  484. choice = "Invalid";
  485. while (choice == "Invalid")
  486. {
  487.  
  488.  
  489. Console.Write("\nPlayer 1 choice: ");
  490. p1choice = Console.ReadLine();
  491.  
  492. if (p1choice == "MJ")
  493. {
  494. Console.WriteLine("----------------------");
  495. Console.WriteLine("Welcome MJ!!!");
  496. Console.WriteLine("----------------------");
  497. Console.WriteLine();
  498. p1Moves = MJmoves;
  499. p1damage = MJdamages;
  500. choice = "Valid";
  501. }
  502.  
  503. else if (p1choice == "Feel Younghusband")
  504. {
  505. Console.WriteLine("----------------------");
  506. Console.WriteLine("Welcome Feel Younghusband!!!");
  507. Console.WriteLine("----------------------");
  508. Console.WriteLine();
  509. p1Moves = Feelmoves;
  510. p1damage = Feeldamages;
  511. choice = "Valid";
  512. }
  513.  
  514. else if (p1choice == "KingBadger")
  515. {
  516. Console.WriteLine("----------------------");
  517. Console.WriteLine("Welcome KingBadger!!!");
  518. Console.WriteLine("----------------------");
  519. Console.WriteLine();
  520. p1Moves = Kingmoves;
  521. p1damage = Kingdamages;
  522. choice = "Valid";
  523. }
  524.  
  525. else if (p1choice == "Chicken Little")
  526. {
  527. Console.WriteLine("----------------------");
  528. Console.WriteLine("Welcome Chicken Little!!!");
  529. Console.WriteLine("----------------------");
  530. Console.WriteLine();
  531. p1Moves = Chickenmoves;
  532. p1damage = Chickendamages;
  533. choice = "Valid";
  534. }
  535.  
  536. else
  537. {
  538. Console.WriteLine("Invalid choice! Please choose again...");
  539. Console.WriteLine();
  540. choice = "Invalid";
  541. }
  542.  
  543. }
  544.  
  545.  
  546. for (int i = 0; i < chars.Count; i++)
  547. {
  548.  
  549. Console.WriteLine(chars[i]);
  550.  
  551. }
  552.  
  553. choice = "Invalid";
  554.  
  555. while (choice == "Invalid")
  556. {
  557.  
  558.  
  559. Console.Write("\nPlayer 2 choice: ");
  560. p2choice = Console.ReadLine();
  561.  
  562. if (p2choice == "MJ")
  563. {
  564. Console.WriteLine("----------------------");
  565. Console.WriteLine("Welcome MJ!!!");
  566. Console.WriteLine("----------------------");
  567. Console.WriteLine();
  568. p2Moves = MJmoves;
  569. p2damage = MJdamages;
  570. choice = "Valid";
  571. }
  572.  
  573. else if (p2choice == "Feel Younghusband")
  574. {
  575. Console.WriteLine("----------------------");
  576. Console.WriteLine("Welcome Feel Younghusband!!!");
  577. Console.WriteLine("----------------------");
  578. Console.WriteLine();
  579. p2Moves = Feelmoves;
  580. p2damage = Feeldamages;
  581. choice = "Valid";
  582. }
  583.  
  584. else if (p2choice == "KingBadger")
  585. {
  586. Console.WriteLine("----------------------");
  587. Console.WriteLine("Welcome KingBadger!!!");
  588. Console.WriteLine("----------------------");
  589. Console.WriteLine();
  590. p2Moves = Kingmoves;
  591. p2damage = Kingdamages;
  592. choice = "Valid";
  593. }
  594.  
  595. else if (p2choice == "Chicken Little")
  596. {
  597. Console.WriteLine("----------------------");
  598. Console.WriteLine("Welcome Chicken Little!!!");
  599. Console.WriteLine("----------------------");
  600. Console.WriteLine();
  601. p2Moves = Chickenmoves;
  602. p2damage = Chickendamages;
  603. choice = "Valid";
  604. }
  605.  
  606. else
  607. {
  608. Console.WriteLine("Invalid choice! Please choose again...");
  609. Console.WriteLine();
  610. choice = "Invalid";
  611. }
  612.  
  613. }
  614.  
  615. Console.ReadKey();
  616. Console.Clear();
  617.  
  618. Console.WriteLine("Player 1 are you ready?");
  619. Console.WriteLine("\nPlayer 2 are you ready?");
  620. Console.WriteLine("\nLet the games begin!");
  621.  
  622. Console.ReadKey();
  623. Console.Clear();
  624.  
  625. while (p1Life > 0 || p2Life > 0)
  626. {
  627. while (p1turn)
  628. {
  629. choice = "Invalid";
  630. Console.WriteLine("\nPlayer 1's turn...");
  631. Console.WriteLine("Stats\nPlayer 1 Life: " + p1Life + "\tSpecial skill: " + p1special + " " + p1skill + "\nPlayer 2 Life: " + p2Life + "\tSpecial skill: " + p2special + " " + p2skill);
  632.  
  633. if (p1skill == 100)
  634. {
  635. Console.WriteLine(p1special + " meter full!");
  636. Console.WriteLine(p1special + " used and gave a critical damage!");
  637.  
  638. p2Life -= 60;
  639. p1skill = 0;
  640. p1turn = false;
  641. }
  642.  
  643.  
  644. else if (p1skill != 100)
  645. {
  646. Console.WriteLine("\nChoose your move:");
  647.  
  648. for (int i = 1; i <= p1Moves.Count; i++)
  649. {
  650.  
  651. Console.WriteLine(i + " - " + p1Moves[i - 1]);
  652. }
  653.  
  654. while (choice == "Invalid")
  655. {
  656. Console.Write("Move: ");
  657. movechoice = int.Parse(Console.ReadLine());
  658. if (movechoice == 1)
  659. {
  660. p2Life -= p1damage[0];
  661. p2skill += 25;
  662.  
  663.  
  664. //if (hitpoints > 0)
  665. //{
  666.  
  667. // if (hitpoints == 0)
  668. // {
  669. // Console.WriteLine("No more Sham Gods left...");
  670. // }
  671.  
  672. // Console.WriteLine("MJ with an Ankle breaker!!");
  673. // hitpoints -= 1;
  674.  
  675. //}
  676. choice = "Valid";
  677. p1turn = false;
  678. }
  679.  
  680. else if (movechoice == 2)
  681. {
  682. p2Life -= p1damage[1];
  683. p2skill += 25;
  684. choice = "Valid";
  685. p1turn = false;
  686. }
  687.  
  688. else if (movechoice == 3)
  689. {
  690. p2Life -= p1damage[2];
  691. p2skill += 25;
  692. choice = "Valid";
  693. p1turn = false;
  694. }
  695.  
  696. else if (movechoice == 4)
  697. {
  698. p2Life -= p1damage[3];
  699. p2skill += 25;
  700. choice = "Valid";
  701. p1turn = false;
  702. }
  703.  
  704. else
  705. {
  706. Console.WriteLine("Invalid move...");
  707. Console.WriteLine();
  708. choice = "Invalid";
  709. }
  710. Console.ReadKey();
  711. }
  712.  
  713. }
  714.  
  715.  
  716. }
  717. if (p2Life <= 0)
  718. {
  719. Console.WriteLine("Player 2 has " + p2Life + "HP");
  720. Console.WriteLine("Player 1 wins!");
  721. break;
  722. }
  723.  
  724. choice = "Invalid";
  725.  
  726.  
  727.  
  728. Console.WriteLine("\nPlayer 2's turn...");
  729. Console.WriteLine("Stats\nPlayer 1 Life: " + p1Life + "\tSpecial skill: " + p1special + " " + p1skill + "\nPlayer 2 Life: " + p2Life + "\tSpecial skill: " + p2special + " " + p2skill);
  730.  
  731. if (p2skill == 100)
  732. {
  733. Console.WriteLine(p2special + " meter full!");
  734. Console.WriteLine(p2special + " used and gave a critical damage!");
  735.  
  736. p1Life -= 60;
  737. p2skill = 0;
  738. p1turn = true;
  739. choice = "Valid";
  740. }
  741. else if (p2skill != 100)
  742. {
  743. Console.WriteLine("\nChoose your move:");
  744.  
  745. for (int i = 1; i <= p2Moves.Count; i++)
  746. {
  747.  
  748. Console.WriteLine(i + " - " + p2Moves[i - 1]);
  749.  
  750.  
  751. }
  752.  
  753. while (choice == "Invalid")
  754. {
  755.  
  756.  
  757.  
  758.  
  759. Console.Write("Move: ");
  760. movechoice = int.Parse(Console.ReadLine());
  761.  
  762. if (movechoice == 1)
  763. {
  764. p1Life -= p2damage[0];
  765. p1skill += 25;
  766. choice = "Valid";
  767. p1turn = true;
  768. }
  769.  
  770. else if (movechoice == 2)
  771. {
  772. p1Life -= p2damage[1];
  773. p1skill += 25;
  774. choice = "Valid";
  775. p1turn = true;
  776. }
  777.  
  778. else if (movechoice == 3)
  779. {
  780. p1Life -= p2damage[2];
  781. p1skill += 25;
  782. choice = "Valid";
  783. p1turn = true;
  784. }
  785.  
  786. else if (movechoice == 4)
  787. {
  788. p1Life -= p2damage[3];
  789. p1skill += 25;
  790. choice = "Valid";
  791. p1turn = true;
  792. }
  793.  
  794. else
  795. {
  796. Console.WriteLine("Invalid move...");
  797. Console.WriteLine();
  798. choice = "Invalid";
  799. }
  800.  
  801.  
  802. Console.ReadKey();
  803.  
  804. }
  805. }
  806.  
  807. if (p1Life <= 0)
  808. {
  809. Console.WriteLine("Player 1 has: " + p1Life + "HP");
  810. Console.WriteLine("Player 2 wins!");
  811. break;
  812. }
  813. }
  814.  
  815. //change this na lang based on your liking
  816. Console.WriteLine("Thank you for playing our game!");
  817. Console.ReadKey();
  818. break;
  819. }
  820.  
  821.  
  822. }
  823.  
  824. }
  825. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement