public static void Main()
Console.WriteLine("Hi!");
Console.WriteLine("Lets fight!");
Console.WriteLine("Name your enemy.");
string enemyName = Console.ReadLine();
while (playerHealth > 0 && enemyHealth > 0)
Console.WriteLine("Press a to attack");
action = Console.ReadLine();
if (action.ToLower() == "a")
Console.WriteLine("You attacked " + enemyName + " with " + playerDamage + "dmg!");
Console.WriteLine(enemyName + " took " + playerDamage + " dmg. " + (enemyHealth - playerDamage) + " HP remaining." );
enemyHealth = enemyHealth - playerDamage;
Console.WriteLine("While you were attacking, you were unguarded. ");
Console.WriteLine(enemyName + " attacked you! " + "You took " + enemyDamage + " dmg. " + (playerHealth -= enemyDamage) + " HP remaining.");
}else if(action.ToLower() == "mercy"){
Console.WriteLine("You've cranted the enemy mercy. His strength got lowered.");
Console.WriteLine("-" + 1 + " enemyDamage.");
Console.WriteLine("You've gained 10xp points! " + (xp + 10) + "/100xp left.");
Console.WriteLine("You chose the path of violence. It says that everybody that chose this path came to regret it.");
Console.WriteLine("While walking in the woods, you stumble infront an abandoned house.");
Console.WriteLine("A crazy Man approaches you!");
Console.WriteLine("Will you run, or fight?");
action = Console.ReadLine();
while (playerHealth > 0 && enemyHealth > 0)
Console.WriteLine("Press a to attack");
action = Console.ReadLine();
if (action.ToLower() == "fight")
Console.WriteLine("Name your enemy.");
string enemyName2 = Console.ReadLine();
Console.WriteLine("You attacked " + enemyName2 + " with " + playerDamage + "dmg!");
Console.WriteLine(enemyName2 + " took " + playerDamage + " dmg. " + (enemyHealth2 - playerDamage) + " HP remaining." );
enemyHealth2 = enemyHealth2 - playerDamage;
Console.WriteLine("While you were attacking, you were unguarded. ");
Console.WriteLine(enemyName2 + " attacked you! " + "You took " + enemyDamage2 + " dmg. " + (playerHealth -= enemyDamage2) + " HP remaining.");
}else if(action.ToLower() == "mercy"){
Console.WriteLine("You've cranted the enemy mercy. His strength got lowered.");
Console.WriteLine("-" + 1 + " enemyDamage.");