Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading;
- using System.Media;
- namespace Practice
- {
- class Program
- {
- static void Main(string[] args)
- {
- bool Practice = true;
- while (Practice)
- {
- //Notes.Play();
- string p1choice, p2choice;
- //string MJ, Feel_Younghusband, KingBadger, ChickenLittle;
- List<string> chars = new List<string>();
- List<string> MJmoves = new List<string>();
- List<int> MJdamages = new List<int>();
- List<string> Feelmoves = new List<string>();
- List<int> Feeldamages = new List<int>();
- List<string> Kingmoves = new List<string>();
- List<int> Kingdamages = new List<int>();
- List<string> Chickenmoves = new List<string>();
- List<int> Chickendamages = new List<int>();
- List<string> p1Moves = new List<string>();
- List<string> p2Moves = new List<string>();
- List<int> p1damage = new List<int>();
- List<int> p2damage = new List<int>();
- List<int> MJhitpoints = new List<int>();
- List<int> FEELhitpoints = new List<int>();
- List<int> KINGhitpoints = new List<int>();
- List<int> CHICKENhitpoints = new List<int>();
- bool p1turn = true;
- int p1Life = 150;
- int p2Life = 150;
- int movechoice;
- string choice = "Invalid";
- string p1nation = "none";
- string p2nation = "none";
- int angermeter = 0;
- int missilemeter = 0;
- int speakmeter = 0;
- int p1skill = 0;
- int p2skill = 0;
- string p1special = "none";
- string p2special = "none";
- MJmoves.Add("Sham God");
- MJmoves.Add("3 pointer");
- MJmoves.Add("Lay-up");
- MJmoves.Add("Posterize");
- Feelmoves.Add("Curve Ball");
- Feelmoves.Add("Knuckle shot");
- Feelmoves.Add("Sliding tackle");
- Feelmoves.Add("Nutmeg");
- Kingmoves.Add("4-move checkmate");
- Kingmoves.Add("Hit the queen!");
- Kingmoves.Add("Castle formation");
- Kingmoves.Add("Horse kick");
- Chickenmoves.Add("Cock a doodle doo");
- Chickenmoves.Add("Tik tilaok");
- Chickenmoves.Add("Ka Ka ro ok");
- Chickenmoves.Add("Bu Kaak!");
- MJdamages.Add(30);
- MJdamages.Add(20);
- MJdamages.Add(15);
- MJdamages.Add(40);
- Feeldamages.Add(15);
- Feeldamages.Add(20);
- Feeldamages.Add(30);
- Feeldamages.Add(40);
- Kingdamages.Add(50);
- Kingdamages.Add(30);
- Kingdamages.Add(30);
- Kingdamages.Add(15);
- Chickendamages.Add(25);
- Chickendamages.Add(15);
- Chickendamages.Add(40);
- Chickendamages.Add(30);
- Console.WriteLine(@"
- /(((((((((/. /@@@@@@@@@@* .(#########/
- .(((/. /(((, &@@@* /@@@% /###/ ,####
- .((/ ,((* @@@ .@@@ (##, (##
- /(( *(( *@@ ,@@, ##* ##/
- /(/ .(( *@@ @@. ##. (#/
- .(( *(/ @@ .@@ (#, ##
- /(, (( ,@@ @@. ## /#/
- /(, (( *@& @@, ## /#/
- *(/ *((///**. @@ %%#(* ##,
- ((. *///((. .,////, *%%.&@( .*#%%%( *##
- ((, //*. ((. &@% ,//* #%%* @@% *## .#%# *##
- ((( */* /(( (@@, .//. ,%%. /@@* .##/ #%( .##(
- (((/ */,.(((. %@@&..*. *%# @@@( ,###, /( (##(
- .(((((((/,/*.(, %@@@@@@@ %% @# *############(.
- // (%/
- // ./* #%, %%
- // ,/, /%/ .%#
- ./* // %% #%,
- */* //. ,%% #%(
- ,// ,// .%%* .%%*
- *//, *//, *%%( /%%#
- .////*,..,,*///* .#%%%#/*,*/#%%%%,
- ");
- Console.WriteLine();
- Console.WriteLine("\t\t\t\t\t\t\tWelcome to our game, green atenean!");
- Console.ReadKey();
- Console.Clear();
- string joke = "\t\t\t\t\t\t\t\tBut wait we have a joke...";
- for (int i = 0; i < joke.Length; i++)
- {
- Console.Write(joke[i]);
- System.Threading.Thread.Sleep(50);
- }
- Console.ReadKey();
- Console.Clear();
- string question = "\t\t\t\t\t\t\t\tHow was the Ateneo built?";
- for (int i = 0; i < question.Length; i++)
- {
- Console.Write(question[i]);
- System.Threading.Thread.Sleep(50);
- }
- Console.ReadKey();
- Console.Clear();
- string how = "\t\t\t\t\t\t\t\tHow broski?";
- for (int i = 0; i < how.Length; i++)
- {
- Console.Write(how[i]);
- System.Threading.Thread.Sleep(50);
- }
- //Console.WriteLine("How broski?");
- Console.ReadKey();
- string ans = "\t\t\t\t\t\t\t\tEdi ETENEO hahahaha!";
- for (int i = 0; i < ans.Length; i++)
- {
- Console.Write(ans[i]);
- System.Threading.Thread.Sleep(50);
- }
- //Console.WriteLine("Edi Eteneo hahahaha!");
- Console.ReadKey();
- Console.Clear();
- string start = "\t\t\t\t\t\t\t\tEnough jokes, time to play.";
- for (int i = 0; i < start.Length; i++)
- {
- Console.Write(start[i]);
- System.Threading.Thread.Sleep(50);
- }
- Console.ReadKey();
- Console.Clear();
- while (choice == "Invalid")
- {
- Console.WriteLine("Where do you come from?");
- Console.WriteLine();
- Console.WriteLine("Philippines \tChina \t America");
- while (choice == "Invalid")
- {
- Console.Write("Player 1: ");
- p1nation = Console.ReadLine();
- choice = "Valid";
- if (p1nation == "Philippines")
- {
- p1special = "Trashtalk meter";
- p1skill = angermeter;
- }
- else if (p1nation == "China")
- {
- p1special = "Missile launch meter";
- p1skill = missilemeter;
- }
- else if (p1nation == "America")
- {
- p1special = "Straight English meter";
- p1skill = speakmeter;
- }
- else
- {
- Console.WriteLine("Country not found...");
- Console.WriteLine("\nPlease choose again");
- choice = "Invalid";
- }
- }
- choice = "Invalid";
- while (choice == "Invalid")
- {
- Console.Write("Player 2: ");
- p2nation = Console.ReadLine();
- choice = "Valid";
- if (p2nation == "Philippines")
- {
- p2special = "Trashtalk meter";
- p2skill = angermeter;
- Console.Clear();
- }
- else if (p2nation == "China")
- {
- p2special = "Missile launch meter";
- p2skill = missilemeter;
- Console.Clear();
- }
- else if (p2nation == "America")
- {
- p2special = "Straight English meter";
- p2skill = speakmeter;
- Console.Clear();
- }
- else
- {
- Console.WriteLine("Country not found...");
- Console.WriteLine("\nPlease choose again");
- choice = "Invalid";
- }
- }
- }
- Console.Clear();
- Console.WriteLine("Choose your athlete!");
- Console.ReadKey();
- Console.WriteLine("Athlete 1: MJ (Michael Jackson)");
- Console.WriteLine("Basketball");
- Console.WriteLine();
- Console.WriteLine(@"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%, %%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%% %%/ %%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%% %%% %%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%* ,%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%* #%%%%%%%% %%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%% %,%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%");
- chars.Add("MJ");
- Console.ReadKey();
- Console.Clear();
- Console.WriteLine("Athlete 2: Feel_Younghusband");
- Console.WriteLine("Football");
- Console.WriteLine();
- Console.WriteLine(@"%%%%&%#########%#%#####(##&%%%%#((###%@@###&##%#%%%#%#%####
- #%##%##########%#%######%#%#%%%%%%&%%%@@#&#%##%###%#&######
- #%##%#%###%%%%#%#%#%%%&%%#%#%####.....,@#%#%%%####&#%#%%%%%
- %%%%&%%##%&%###%#%#%####%%&%&%&% .%%%&%%#%%%%#%/&(*,%
- ###############%#%#%####%#%#%#%# **. /*(.%###%#%#%%##%(#((#
- (((#((((#(#(((((#%%##%%%%(#(#(((#(.*///((%#########%#%#,*%%
- ##%%#%(%%####(#((#((((#(#(#(##%#(#((,*,*(**/(/**/(#%#((**#(
- ######(((((((((((((((((((((((((((((((/*,,/*//*,,,,**#&(**((
- ((((((((((###%%%%%#%%%%#((#((((((((*.,**/@(*,,..., .**/*,/(
- (((((((((((#((((((((######(##(#(#(,@(/****.,,,. ### ,.,.##%
- (((((((((((((((((((((((((#((((((((.//&%#,..,,,,*(((((((((((
- (((((((((((((((((((((((((((((((((( ..@,.,,,,,,*((((((((((((
- ((((((((((((((((((((((((((((((((((.,. .,,,,,,,*((((((((((((
- ((((((((((((((((((((((((///((/////.. ..,,,,,..*(((((((((((/
- (((((((((((((((((((#%%&&&&&&&%%(*/ .,,,,,,.,,.(((((((((((((
- ((((((((((((((((((((((((((((((/,.,***,,,,, ,,*(((((((((((((
- (/(((((((((((((((((((((((((((#*///*,**,,.,,*,/(((((((((((((
- (((((((((((((((((((((((((((((.(#.... ..,***/,*(((((((((((((
- (((((((((((((((((((((((((((((##,,.*, */,,,/,,((((((((((((((
- ((((((((/((((((((((/(((((((((#,,, //***..,,(((#(((((((((((
- (((((((((((((((((((((((((((((,* ./*@,%*,,/(((((((((((/((/(
- ((((((((/(((((((((((((((((((,.../*%,&%..@(/*#((((((((((((((
- (/((//(//(((((((((((((((((((*,#/,,,...##%%.*((((/(/(///(/((
- ((///(((((((/(/(((((((((((((,#/*... *((((*,,((((((((((((/((
- (/((/((((((((((((((((/(((//((,.*&(%/#%&#%(/((((((((((((/(((
- (((/((///((/((((/((((/((((((*,,/%(%(#(%((((((((((((/(((((((
- (((#((((((((/(((((((((/////*,,.///(((((//////(((///((#(((((
- /(((/(((((/((&@@@@@(#(((#@*,..(((((((((((((/((((((//(/(//(/
- (/(//((((((/&%&&@*&#////@%(/((((((((((((((((((((((((/(((/((
- (((((((/((/(%%/##(%%((@%#((((#(##(((((/#((//((((/((((/%((//
- %#&%((((//////** .,/#(//*(//////////////(///((((((((((((#((
- ///////////(//((((%&&&%&%%##((((((((/((((/(//(((((///(/(((/
- /((((/(((/(/////((////(/((//((((/(/(///((#%#&&&&#%#(##/((((
- ((((/((((/((((/(((((((((/((/((((/#(((((//////(/(///((/((/(/
- #((((((/((((((/((/(/(((((((//(((((/(/((//(((((/((((((((/((/
- (((((((((/((/((((#(((((((((((/(((((((/((/((((((/((//(/(///(");
- Console.ReadKey();
- Console.Clear();
- chars.Add("Feel Younghusband");
- Console.WriteLine("Athlete 3: KingBadger");
- Console.WriteLine("Chess");
- Console.WriteLine();
- Console.WriteLine(@" .........,,,,,,,,*********/////////////////////////**********,,,,,,,.........
- ..........,,,,,,,**********///////////////////////**********,,,,,,,,.........
- ..........,,,,,,,,**********////////// ////////***********,,,,,,,,..........
- .........,,,,,,,,,**************/// //*************,,,,,,,,,..........
- ...........,,,,,,,,,****************/(/**************,,,,,,,,,,..........
- ...........,,,,,,,,,,,,*********/@ . ,*********,,,,,,,,,,,...........
- ...........,,,,,,,,,,,,,*******,* *****,,,,,,,,,,,,,,............
- ..............,,,,,,,,,,,,,,,,,, ./,,,,,,,,,,,,,,,,.............
- ...............,,,,,,,,,,,,,,/,,(*,,,,,,,,,,,,...............
- ...................,,,,,,(. *,,,,,...................
- ........................ &........................
- .................... &...................
- .............. %*.............
- ... *(,..
- . %%,
- .. *..(
- *.,, *(#(,%
- .. ..@,*
- ..*/((#&@&####/,/((((#@####, ... ..,,,###%@#((((/,(######/,..
- (, ,******#@@@@@@@@@@@@@@@@.**,.......,,*(.%@@@@@@@@@@@@@@@%,............
- /@@@@@@@@@@@@@@@@@@@@@@@@@@...... ........*@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@&,.......,.... .................,@@@@@@@@@@@@@@@@@@@");
- Console.ReadKey();
- Console.Clear();
- chars.Add("KingBadger");
- Console.WriteLine("Athlete 4: ChickenLittle");
- Console.WriteLine("Sabong");
- Console.WriteLine();
- Console.WriteLine(@"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@(//((@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@&/*///(/@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@/*/*////%@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@(((***/*//@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@%/****//(@&//(//((@@@@@@@@
- @@@@@@@@@@@@@@@@@(//****@////****////@@@@@@
- @@@@@@@@@@@@@@@@@%//***(//**/*******//&@@@@
- @@@@@@@@@@@@@@@@@@/****/*//*/********/(@@@@
- @@@@@@@@@@@@@@@@@@&**,*******/**/*/////@@@@
- @@@@@@@@@@@@@@@@@&&&&*,,&%&@@@@@@//////@@@@
- @@@@@@@@@@@@@&&&&&@@&@&@&@&@@@@&@@@#*/@@@@@
- @@@@@@@@@@&@&&@@&@@@@@@@@&@&@@@&@&@@@@@@@@@
- @@@@@@@@@&%&&@&@&@&@@&@@@@@@&@&&@@@&@@@@@@@
- @@@@@@@@&&&%@@@@&@&@@@@@&&@@@@@@@@&&@@@@@@@
- @@@@@@@&%&&&&@&@&@&@@@@@@@@@@@@&@@&&&&@@@@@
- @@@@@@&&&&&&&&&&@@&@@@@@@&@@@@&@@&%&&%@@@@@
- @@@@@@%%%&&&&&&&&&&@@@@@&&&&&&&&&&&%%&&@@@@
- @@@@@&%%%%&&&&&&&&&&&&&&&&&&&&&&%%%%%%%@@@@
- @@@@@&%%%&&%&%(%&&&&&&&&&&&&&&%##(%%%((%@@@
- @@@@@%#%%%&&&%%#((%&&%(#&%%%#((&,..#&&&&#@@
- @@@@##(////##(&&,..*%&&%#&&@&/&&.../&&&@#@@
- @@@/@@%#%&&&&(&&&&&&&&&%%&&&&&#@&@@@@@@(@@@
- @@@@@@%%%%&&&&#&@@&&&&&((#####(/(#####&&@@@
- @@@@@@@&#%&&&&&&(((((#**/((/*,/(&&&&&&&@@@@
- @@@@@@@@%%%%%%&&%&%&%%%#/(((((%%%%%%%@@@@@@
- @@@@@@@@@@@####%%%%%##%%%%%%%%###%@@@@@@@@@
- @@@@@@@@@@@@@@@@%(((((((((((&@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@///(#(((#%@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@&#(((#%%##(/(@@@@@@@@@@
- @@@@@@@@@@@@@@@@@###((/((/(#####(#@@@@@@@@@
- @@@@@@@@@@@@@@@%(##((*//######(///&@@@@@@@@
- @@@@@@@@@@@@@&&&%/(((/**/((#%%##(#%&@@@@@@@
- @@@@@@@@@@@@&&&#&@@@@@****/(((#####%&@@@@@@
- @@@@@@@@@@@&&&%%@@@@@@#////(((((((%#%&@@@@@
- @@@@@@@@@@@&&&%@@@@@@@/**//(##%%%%#%&&&@@@@
- @@@@@@@@@@@&&&&&&%###@***///((((((/&###@@@@
- @@@@@@@@@@@&&&%###@/**(/*///((((((/&##&@@@@
- @@@@@@@@@@@@#%#%#/*....*///((((#((/%@@@@@@@
- @@@@@@@@@@@@@@@(##.......,,,,.,.,,,,@@@@@@@
- @@@@@@@@@@@@@@/#%.......,,,.......,.%@@@@@@
- @@@@@@@@@@@@@@@@.......,..,.......,,,@@@@@@
- @@@@@@@@@@@@@@@/.......,,,........,,.@@@@@@
- @@@@@@@@@@@@@@@........,...........,.@@@@@@
- @@@@@@@@@@@@@@.......,,.,.........,..&@@@@@
- @@@@@@@@@@@@@@@@@&..,,....... ......%@@@@@@
- @@@@@@@@@@@@@@@@@@**%@@,..@@@@@*%@@@@@@@@@@
- @@@@@@@@@@@@@@@@@//@@@@@@@@@@@@/#@@@@@@@@@@
- @@@@@@@@@@@@@@@(//@@@@@@@@@@@@%**///#///@@@
- @@@@@@@@@@@@%(/((@@@@@@@@@@@@@@@@@@@@@@@@@@");
- Console.ReadKey();
- Console.Clear();
- chars.Add("Chicken Little");
- for (int i = 0; i < chars.Count; i++)
- {
- Console.WriteLine(chars[i]);
- }
- choice = "Invalid";
- while (choice == "Invalid")
- {
- Console.Write("\nPlayer 1 choice: ");
- p1choice = Console.ReadLine();
- if (p1choice == "MJ")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome MJ!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p1Moves = MJmoves;
- p1damage = MJdamages;
- choice = "Valid";
- }
- else if (p1choice == "Feel Younghusband")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome Feel Younghusband!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p1Moves = Feelmoves;
- p1damage = Feeldamages;
- choice = "Valid";
- }
- else if (p1choice == "KingBadger")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome KingBadger!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p1Moves = Kingmoves;
- p1damage = Kingdamages;
- choice = "Valid";
- }
- else if (p1choice == "Chicken Little")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome Chicken Little!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p1Moves = Chickenmoves;
- p1damage = Chickendamages;
- choice = "Valid";
- }
- else
- {
- Console.WriteLine("Invalid choice! Please choose again...");
- Console.WriteLine();
- choice = "Invalid";
- }
- }
- for (int i = 0; i < chars.Count; i++)
- {
- Console.WriteLine(chars[i]);
- }
- choice = "Invalid";
- while (choice == "Invalid")
- {
- Console.Write("\nPlayer 2 choice: ");
- p2choice = Console.ReadLine();
- if (p2choice == "MJ")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome MJ!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p2Moves = MJmoves;
- p2damage = MJdamages;
- choice = "Valid";
- }
- else if (p2choice == "Feel Younghusband")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome Feel Younghusband!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p2Moves = Feelmoves;
- p2damage = Feeldamages;
- choice = "Valid";
- }
- else if (p2choice == "KingBadger")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome KingBadger!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p2Moves = Kingmoves;
- p2damage = Kingdamages;
- choice = "Valid";
- }
- else if (p2choice == "Chicken Little")
- {
- Console.WriteLine("----------------------");
- Console.WriteLine("Welcome Chicken Little!!!");
- Console.WriteLine("----------------------");
- Console.WriteLine();
- p2Moves = Chickenmoves;
- p2damage = Chickendamages;
- choice = "Valid";
- }
- else
- {
- Console.WriteLine("Invalid choice! Please choose again...");
- Console.WriteLine();
- choice = "Invalid";
- }
- }
- Console.ReadKey();
- Console.Clear();
- Console.WriteLine("Player 1 are you ready?");
- Console.WriteLine("\nPlayer 2 are you ready?");
- Console.WriteLine("\nLet the games begin!");
- Console.ReadKey();
- Console.Clear();
- while (p1Life > 0 || p2Life > 0)
- {
- while (p1turn)
- {
- choice = "Invalid";
- Console.WriteLine("\nPlayer 1's turn...");
- Console.WriteLine("Stats\nPlayer 1 Life: " + p1Life + "\tSpecial skill: " + p1special + " " + p1skill + "\nPlayer 2 Life: " + p2Life + "\tSpecial skill: " + p2special + " " + p2skill);
- if (p1skill == 100)
- {
- Console.WriteLine(p1special + " meter full!");
- Console.WriteLine(p1special + " used and gave a critical damage!");
- p2Life -= 60;
- p1skill = 0;
- p1turn = false;
- }
- else if (p1skill != 100)
- {
- Console.WriteLine("\nChoose your move:");
- for (int i = 1; i <= p1Moves.Count; i++)
- {
- Console.WriteLine(i + " - " + p1Moves[i - 1]);
- }
- while (choice == "Invalid")
- {
- Console.Write("Move: ");
- movechoice = int.Parse(Console.ReadLine());
- if (movechoice == 1)
- {
- p2Life -= p1damage[0];
- p2skill += 25;
- //if (hitpoints > 0)
- //{
- // if (hitpoints == 0)
- // {
- // Console.WriteLine("No more Sham Gods left...");
- // }
- // Console.WriteLine("MJ with an Ankle breaker!!");
- // hitpoints -= 1;
- //}
- choice = "Valid";
- p1turn = false;
- }
- else if (movechoice == 2)
- {
- p2Life -= p1damage[1];
- p2skill += 25;
- choice = "Valid";
- p1turn = false;
- }
- else if (movechoice == 3)
- {
- p2Life -= p1damage[2];
- p2skill += 25;
- choice = "Valid";
- p1turn = false;
- }
- else if (movechoice == 4)
- {
- p2Life -= p1damage[3];
- p2skill += 25;
- choice = "Valid";
- p1turn = false;
- }
- else
- {
- Console.WriteLine("Invalid move...");
- Console.WriteLine();
- choice = "Invalid";
- }
- Console.ReadKey();
- }
- }
- }
- if (p2Life <= 0)
- {
- Console.WriteLine("Player 2 has " + p2Life + "HP");
- Console.WriteLine("Player 1 wins!");
- break;
- }
- choice = "Invalid";
- Console.WriteLine("\nPlayer 2's turn...");
- Console.WriteLine("Stats\nPlayer 1 Life: " + p1Life + "\tSpecial skill: " + p1special + " " + p1skill + "\nPlayer 2 Life: " + p2Life + "\tSpecial skill: " + p2special + " " + p2skill);
- if (p2skill == 100)
- {
- Console.WriteLine(p2special + " meter full!");
- Console.WriteLine(p2special + " used and gave a critical damage!");
- p1Life -= 60;
- p2skill = 0;
- p1turn = true;
- choice = "Valid";
- }
- else if (p2skill != 100)
- {
- Console.WriteLine("\nChoose your move:");
- for (int i = 1; i <= p2Moves.Count; i++)
- {
- Console.WriteLine(i + " - " + p2Moves[i - 1]);
- }
- while (choice == "Invalid")
- {
- Console.Write("Move: ");
- movechoice = int.Parse(Console.ReadLine());
- if (movechoice == 1)
- {
- p1Life -= p2damage[0];
- p1skill += 25;
- choice = "Valid";
- p1turn = true;
- }
- else if (movechoice == 2)
- {
- p1Life -= p2damage[1];
- p1skill += 25;
- choice = "Valid";
- p1turn = true;
- }
- else if (movechoice == 3)
- {
- p1Life -= p2damage[2];
- p1skill += 25;
- choice = "Valid";
- p1turn = true;
- }
- else if (movechoice == 4)
- {
- p1Life -= p2damage[3];
- p1skill += 25;
- choice = "Valid";
- p1turn = true;
- }
- else
- {
- Console.WriteLine("Invalid move...");
- Console.WriteLine();
- choice = "Invalid";
- }
- Console.ReadKey();
- }
- }
- if (p1Life <= 0)
- {
- Console.WriteLine("Player 1 has: " + p1Life + "HP");
- Console.WriteLine("Player 2 wins!");
- break;
- }
- }
- //change this na lang based on your liking
- Console.WriteLine("Thank you for playing our game!");
- Console.ReadKey();
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement