#Creating pokemon that exists
poke1= Pokemon$new("Litwick")
poke2 = Pokemon$new("Ivysaur")
#Creating pokemon that does not exist
poke3 = Pokemon$new("Samin")
poke3
#Testing the 'fight' method to make sure it works
poke1$fight(poke2)
poke1
poke1$fight(poke2)
poke1
poke1$fight(poke2)
poke1
poke1$fight(poke2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.