public static void Main()
int attackmultiplier = 1;
string[] inventory = new string[10];
inventory[0] = "{0} Health potions";
Console.WriteLine("Welcome to my dungeon raider game, it's going to be a turn based game with random levels to keep the experience fresh");
Console.WriteLine("You have a limited space of ten item slots so be wise on what you pick up");
Console.WriteLine("Please enter your character's name");
string name = Console.ReadLine();
Console.WriteLine("Welcome {0} you begin your quest in a small dungeon with rumours of a stash of loot but with something terrible guarding it", name);
Console.WriteLine("As you walk into the first room you are quickly blocked by 4 skeleton minions, this should be easy enough, just a couple of brittle bones");
while(amountofenemies > 0)
Console.WriteLine("{0} enemies stand before you.\r\nSkeleton1 stands at {1} health.\r\nSkeleton2 stands at {2} health.\r\nSkeleton3 stands at {3} health.\r\nSkeleton4 stands at {4} health.",amountofenemies, enemy1 , enemy2 , enemy3 , enemy4);
Console.WriteLine("Which enemy do you want to attack first? Type in 1 for skeleton 1, 2 for skeleton 2 and so on.");
string input = Console.ReadLine();
if (input == "1" && enemy1 > 0)
Random dmg = new Random();
int attack = dmg.Next(9, 15);
enemy1 = (enemy1 - attack);
Console.WriteLine("You dealt {0} damage to Skeleton 1!", attack);
Console.WriteLine("Urah! You defeated Skeleton 1! Now only {0} enemies remain!", amountofenemies);
else if (input == "2" && enemy2 > 0)
Random dmg = new Random();
int attack = dmg.Next(9, 15);
enemy2 = (enemy2 - attack);
Console.WriteLine("You dealt {0} damage to Skeleton 2!", attack);
Console.WriteLine("Urah! You defeated Skeleton 2! Now only {0} enemies remain!", amountofenemies);
else if (input == "3" && enemy3 > 0)
Random dmg = new Random();
int attack = dmg.Next(9, 15);
enemy3 = (enemy3 - attack);
Console.WriteLine("You dealt {0} damage to Skeleton 3!", attack);
Console.WriteLine("Urah! You defeated Skeleton 3! Now only {0} enemies remain!", amountofenemies);
else if (input == "4" && enemy4 > 0)
Random dmg = new Random();
int attack = dmg.Next(9, 15);
enemy4 = (enemy4 - attack);
Console.WriteLine("You dealt {0} damage to Skeleton 4!", attack);
Console.WriteLine("Urah! You defeated Skeleton 4! Now only {0} enemies remain!", amountofenemies);
Console.WriteLine("You just wasted a turn, the enemy laughs at you and your horrible typing skills and also your stupidity.");
Console.WriteLine("The enemy attacks you back!");
Random rnd = new Random();
int eattack = rnd.Next(2, 4);
eattack = (eattack * amountofenemies);
health = (health - eattack);
Console.WriteLine("The enemy took {0} health off you, you are now left on {1} health", eattack, health);