public static void Main()
Random rnd = new Random();
int bad = rnd.Next(10, 50);
Console.WriteLine("Legolas is an amazing archer, who fires three arrows with sometimes impeccable accuracy! (And sometimes, not so impeccable accuracy...");
for(int cycle = 0; cycle < 1000; cycle++)
int luck = rnd.Next(0,2);
int luck1 = rnd.Next(0, 100);
int luck2 = rnd.Next(0, 100);
int luck3 = rnd.Next(0, 100);
int miss1 = rnd.Next(0, 100);
int miss2 = rnd.Next(0, 100);
int miss3 = rnd.Next(0, 100);
int quiver = rnd.Next(30, 60);
Console.WriteLine("Legolas has failed us. Darkness prevails. The world has come to an end.");
Console.WriteLine("Legolas has triumphed over the Darkness! Long live Legolas!");
else if(health > 0 && bad > 0)
kills = hit1 + hit2 + hit3;
Console.WriteLine("Legolas has killed " + kills + " of the Darkness. " + bad + " remain.");
quiver = quiver + luck - 3;
Console.WriteLine("Legolas's luck has granted him " + luck + " more arrows");
Console.WriteLine("The darkness has struck Legolas for " + bad/2 + " damage");
Console.WriteLine("Legolas's health is " + health);
Console.WriteLine("Legolas has killed " + kills + " of the Darkness. " + bad + " remain.");
quiver = quiver + luck - 2;
Console.WriteLine("Legolas's luck has granted him " + luck + " more arrows");
Console.WriteLine("The darkness has struck Legolas for " + bad/2 + " damage");
Console.WriteLine("Legolas's health is " + health);
Console.WriteLine("Legolas has killed " + kills + " of the Darkness. " + bad + " remain.");
quiver = quiver-- + luck;
Console.WriteLine("Legolas's luck has granted him " + luck + " more arrows");
Console.WriteLine("The darkness has struck Legolas for " + bad/2 + " damage");
Console.WriteLine("Legolas's health is " + health);
Console.WriteLine("Legolas's luck has granted him " + luck + " more arrows");
Console.WriteLine("The darkness has struck Legolas for " + bad/2 + " damage");
Console.WriteLine("Legolas's health is " + health);