public static void Main()
Console.WriteLine("Welcome to Pokemon Battle!\n");
Pokemon p1 = new Pokemon("Pikachu", "Electric", "Thunder Shock");
Pokemon p2 = new Pokemon("Charmander", "Fire", "Flame Burst");
Console.WriteLine("Let the battle commence!!\n");
public Pokemon(string n, string t, string a)
Console.WriteLine("Pokemon: \n Name: " + name + "\n Type: " + type + "\n Attack: " +attack +"\n");
public void Battle(Pokemon other)
Console.WriteLine("Pokemon... Get ready for battle!\n");
Random random = new Random();
int p1Points = random.Next(80,100);
int p2Points = random.Next(80,100);
Console.WriteLine(this.getName() + " has " + p1Points + " points!");
Console.WriteLine(other.getName() + " has " + p2Points + " points!\n");
Console.WriteLine("WINNER IS " +this.getName().ToUpper());
else if(p2Points > p1Points)
Console.WriteLine("WINNER IS " +other.getName().ToUpper());
else if(p2Points == p1Points)
Console.WriteLine(this.getName().ToUpper() + " and " + other.getName().ToUpper() + " DRAW!!");
Console.WriteLine("Something has gone wrong!!!");