public static void Main()
Random rnd = new Random();
Console.WriteLine("Enter Username");
name = Console.ReadLine();
Console.WriteLine(name + "Registered. Enter Prefered Defence");
Console.WriteLine(name + " uses a 1: F6 Laser Blade. 2: Blaster. 3: Hover Sheild.");
string option = Console.ReadLine();
Console.WriteLine(name + " Aquired F6 Laser Blade. Simulation Booting. Executing Game.EXE. Running Program. Game Start.");
Console.WriteLine(name + " Aquired Blaster. Simulation Booting. Executing Game.EXE. Running Program. Game Start.");
Console.WriteLine(name + " Aquired Hover Sheild. Simulation Booting. Executing Game.EXE. Running Program. Game Start.");
Console.WriteLine("You have entered an invalid option, please try again.");
Console.WriteLine("Welcome To The Agency Training Simulation");
Console.WriteLine("A serpentine creature with webbed wings, long arms and a fanged mouth flies at you from over the water!");
while (enemyHP > 0 && hP > 0)
if (firstTurn && init > 1)
Console.WriteLine("The creature swoops down and attacks!");
dmg = (2 + rnd.Next(0,3)) - def;
Console.WriteLine(name + " has taken " + dmg + " damage! And has " + hP + " health left.");
Console.WriteLine("What shall " + name + " do? 1: attack 2: magic");
string option = Console.ReadLine();
dmg = (atk + rnd.Next(0,3)) -1;
Console.WriteLine(name + " attacks the creature! The creature takes " + dmg + " damage!");
dmg = (mgk + rnd.Next(0,4)) -2;
Console.WriteLine(name + " casts a spell at the creature! The creature takes " + dmg + " damage!");
Console.WriteLine ("You have entered an invalid input. Please try again.");
Console.WriteLine(name + " has defeated his enemie! Now " + name + " can rest.");
Console.WriteLine(name + " now has " + hP + " health.");
Console.WriteLine("You have fallen!");
Console.WriteLine("You slew " + killCount + " enemies!");
Console.WriteLine("The End!");