using System.Threading.Tasks;
public static void Main()
Random random = new Random();
Console.WriteLine("You are an adventuurer.");
Console.WriteLine("you are walking across the forest when suddenly you encounter a");}
public string MonsterType { get; set; }
public int Health { get; set; }
public int HitsWith { get; set; }
public bool IsDead { get { return Health <= 0; } }
public Monster(string name, int health, int hitsWith)
public Monster(Monster m)
MonsterType = m.MonsterType;
public override string ToString()
private Monster[] monsters = new Monster[] {new Monster("imp", 8, 1),
new Monster("goblin", 11, 4),
new Monster("hobgoblin", 15, 7) };