public static void Main()
Console.WriteLine("Select a Difficulty");
Console.WriteLine("1: Easy");
Console.WriteLine("2: Normal");
Console.WriteLine("3: Hard");
string mode = Console.ReadLine();
Console.WriteLine("Not a valid chioce. Select Again");
public static void EasyMode()
Random random = new Random();
int randomNumber = random.Next(0, 100);
Console.WriteLine("Welcome! Hope you survive the experience!");
Console.WriteLine("What is your name? ");
playerName = Console.ReadLine();
Console.WriteLine("Alright, {0}, What is the name of your tank? ", playerName);
tankName = Console.ReadLine();
Console.WriteLine("{0}\t\t\t\t\t\t\tPoison", tankName);
Console.WriteLine("Health:{0}\t\t\t\t\t\tHealth:{1}", p1Health, cpuHealth);
Console.WriteLine("Nuke: {0}\t\t\t\t\t\tNuke: {1}", p1Weapon1, cpuWeapon1);
Console.WriteLine("HeavySht: {0}\t\t\t\t\t\tHeavySht: {1}", p1Weapon2, cpuWeapon2);
Console.WriteLine("LghtSht: {0}\t\t\t\t\t\tLghtSht: {1}", p1Weapon3, cpuWeapon3);
Console.WriteLine("FIGHT! Round {0}", round);
Console.WriteLine("Choose a weapon");
Console.WriteLine("\t1 for Nuke");
Console.WriteLine("\t2 for Heavy Shot");
Console.WriteLine("\t3 for Light Shot");
Console.Write("\tChoice: ");
choice = Console.ReadLine();
Console.WriteLine("You launch a nuke at Poison!");
randomNumber = random.Next(0, 26);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Heavy Shot at Poison");
randomNumber = random.Next(0, 16);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Light Shot at Poison");
randomNumber = random.Next(0, 11);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You scratch your head like a moron....");
randomNumber = random.Next(0, 4);
Console.WriteLine("Poison launches a nuke at {0}!", tankName);
randomNumber = random.Next(0, 26);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison launches a Heavy Shot at {0}!", tankName);
randomNumber = random.Next(0, 16);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison launches a Light Shot at {0}!", tankName);
randomNumber = random.Next(0, 11);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison scratches their head like a moron....");
}while (p1Health > 0 && cpuHealth > 0);
if (p1Health > 0 && cpuHealth <= 0)
Console.WriteLine("Congratulations {0}! You destroyed Poison!", playerName);
else if (p1Health <= 0 && cpuHealth > 0)
Console.WriteLine("Poison destroyed {0} with {1} inside. There were no survivors!", tankName, playerName);
else if (p1Health <= 0 && cpuHealth <= 0)
Console.WriteLine("The combatants have destroyed each other! It's a draw!");
public static void NormalMode()
Random random = new Random();
int randomNumber = random.Next(0, 100);
Console.WriteLine("Welcome! Hope you survive the experience!");
Console.WriteLine("What is your name? ");
playerName = Console.ReadLine();
Console.WriteLine("Alright, {0}, What is the name of your tank? ", playerName);
tankName = Console.ReadLine();
Console.WriteLine("{0}\t\t\t\t\t\t\tPoison", tankName);
Console.WriteLine("Health:{0}\t\t\t\t\t\tHealth:{1}", p1Health, cpuHealth);
Console.WriteLine("Nuke: {0}\t\t\t\t\t\tNuke: {1}", p1Weapon1, cpuWeapon1);
Console.WriteLine("HeavySht: {0}\t\t\t\t\t\tHeavySht: {1}", p1Weapon2, cpuWeapon2);
Console.WriteLine("LghtSht: {0}\t\t\t\t\t\tLghtSht: {1}", p1Weapon3, cpuWeapon3);
Console.WriteLine("FIGHT! Round {0}", round);
Console.WriteLine("Choose a weapon");
Console.WriteLine("\t1 for Nuke");
Console.WriteLine("\t2 for Heavy Shot");
Console.WriteLine("\t3 for Light Shot");
Console.Write("\tChoice: ");
choice = Console.ReadLine();
Console.WriteLine("You launch a nuke at Poison!");
randomNumber = random.Next(0, 26);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Heavy Shot at Poison");
randomNumber = random.Next(0, 16);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Light Shot at Poison");
randomNumber = random.Next(0, 11);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You scratch your head like a moron....");
randomNumber = random.Next(1, 4);
Console.WriteLine("Poison launches a nuke at {0}!", tankName);
randomNumber = random.Next(0, 26);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison launches a Heavy Shot at {0}!", tankName);
randomNumber = random.Next(0, 16);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison launches a Light Shot at {0}!", tankName);
randomNumber = random.Next(0, 11);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison ran out of ammo!");
Console.WriteLine("Poison scratches their head like a moron....");
}while (p1Health > 0 && cpuHealth > 0);
if (p1Health > 0 && cpuHealth <= 0)
Console.WriteLine("Congratulations {0}! You destroyed Poison!", playerName);
else if (p1Health <= 0 && cpuHealth > 0)
Console.WriteLine("Poison destroyed {0} with {1} inside. There were no survivors!", tankName, playerName);
else if (p1Health <= 0 && cpuHealth <= 0)
Console.WriteLine("The combatants have destroyed each other! It's a draw!");
public static void HardMode()
Random random = new Random();
int randomNumber = random.Next(0, 100);
Console.WriteLine("Welcome! Hope you survive the experience!");
Console.WriteLine("What is your name? ");
playerName = Console.ReadLine();
Console.WriteLine("Alright, {0}, What is the name of your tank? ", playerName);
tankName = Console.ReadLine();
Console.WriteLine("{0}\t\t\t\t\t\t\tPoison", tankName);
Console.WriteLine("Health:{0}\t\t\t\t\t\tHealth:{1}", p1Health, cpuHealth);
Console.WriteLine("Nuke: {0}\t\t\t\t\t\tNuke: {1}", p1Weapon1, cpuWeapon1);
Console.WriteLine("HeavySht: {0}\t\t\t\t\t\tHeavySht: {1}", p1Weapon2, cpuWeapon2);
Console.WriteLine("LghtSht: {0}\t\t\t\t\t\tLghtSht: {1}", p1Weapon3, cpuWeapon3);
Console.WriteLine("FIGHT! Round {0}", round);
Console.WriteLine("Choose a weapon");
Console.WriteLine("\t1 for Nuke");
Console.WriteLine("\t2 for Heavy Shot");
Console.WriteLine("\t3 for Light Shot");
Console.Write("\tChoice: ");
choice = Console.ReadLine();
Console.WriteLine("You launch a nuke at Poison!");
randomNumber = random.Next(0, 26);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Heavy Shot at Poison");
randomNumber = random.Next(0, 16);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You fire your Light Shot at Poison");
randomNumber = random.Next(0, 11);
cpuHealth = cpuHealth - dmg;
Console.WriteLine("You did {0} damage!", dmg);
Console.WriteLine("You're out of ammo");
Console.WriteLine("You scratch your head like a moron....");
Console.WriteLine("Poison fires a nuke at {0}!", tankName);
randomNumber = random.Next(0, 26);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison fires a Heavy Shot at {0}!", tankName);
randomNumber = random.Next(0, 16);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
Console.WriteLine("Poison fires a Light Shot at {0}!", tankName);
randomNumber = random.Next(0, 11);
p1Health = p1Health - dmg;
Console.WriteLine("{0} takes {1} damage!", tankName, dmg);
}while (p1Health > 0 && cpuHealth > 0);
if (p1Health > 0 && cpuHealth <= 0)
Console.WriteLine("Congratulations {0}! You destroyed Poison!", playerName);
else if (p1Health <= 0 && cpuHealth > 0)
Console.WriteLine("Poison destroyed {0} with {1} inside. There were no survivors!", tankName, playerName);
else if (p1Health <= 0 && cpuHealth <= 0)
Console.WriteLine("The combatants have destroyed each other! It's a draw!");