using System; class Program { static void Main(string[] args) { //Adds visual settings Console.Title = ("Pokemon Battle Arena"); Console.ForegroundColor = ConsoleColor.Yellow; Pokemon pikachu = new Pokemon("Pikachu", "Thundershock"); //Setting for Pikachu Pokemon squirtle = new Pokemon("Squirtle", "Aqua Jet"); //Setting for Squirtle //Pikachu's moveset while (true) { //Makes a variable to check when a key is pressed ConsoleKeyInfo keyInfo = Console.ReadKey(); // Check if the pressed key is 'Enter' if (keyInfo.Key == ConsoleKey.Enter) { pikachu.CastAbility(); } // Check if the pressed key is 'R' if (keyInfo.Key == ConsoleKey.R) { pikachu.Rest(); } //Stops the program after pressing 'Esc' if (keyInfo.Key == ConsoleKey.Escape) { break; } } } }