Code in C# please. Monster Slayer Introduction In this exercise we…

Question Answered step-by-step Code in C# please. Monster Slayer Introduction In this exercise we… Code in C# please.Monster SlayerIntroductionIn this exercise we are going to simulate a turn based game. There are 3 types of classes that define the characters of the game. Character, Enemy, and concrete monster and warrior classes.The core logicA character is an abstract class which means it cannot be instantiated. However, a lot of common functionalities of a character are defined in this class. The same concept applies to the Enemy class. An enemy is an abstract class that extends the functionality of a character, but it cannot be instantiated either.In this game, a character cannot attack just any other character. Warriors can only attack Enemies and Enemies can only attack warriors. Furthermore, the level of the subject character should be less than or equal to the attacker. This logic is defined in the override of the attack method in every concrete class of Enemy and Character.The warrior class will increment the experience of the warrior with each attack and with every other increment (when exp is a multiple of 3), it will increment the level of the warrior.InstructionsSimply follow the TODO comments in each file. The file Program.cs is the main entry of the program with a main method in it. Simply run it in VS Code. After successful execution, you should be able to see the EXACT output as below. Warrior is attacking a Lizard from EARTHLizard is attacking a WarriorWarrior is attacking a Lizard from EARTHJason is leveling up!New level : 2Cannot attackWarrior is attacking a Lizard from EARTHyou_shall_perish.mp3Lizard is deadMonster is attacking a WarriorWarrior is attacking a Skeleton from OUTWORLDJason is leveling up!New level : 3Cannot attackWarrior is attacking a Skeleton from OUTWORLDWarrior is attacking a Skeleton from OUTWORLDyou_shall_perish.mp3Skeleton is deadJason is leveling up!New level : 4Warrior is attacking a Monster from UNDERWORLDCannot attackWarrior is attacking a Monster from UNDERWORLDJason is leveling up!New level : 5Warrior is attacking a Monster from UNDERWORLDyou_shall_perish.mp3Monster is dead NoteMake sure you understand every aspect of this program. Some of the main concepts in this exercise are, abstraction and polymorphism.CODE PROVIDED IN COMMENTS  IN C# PLEASE Computer Science Engineering & Technology Object-Oriented Programming CSD 228 Share QuestionEmailCopy link Comments (0)