Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
PokemonBattle by pammpamm
Pokemon: 
    Name: Pikachu
    Type: Electric
    Hit Points: 50
    Attack: Thunder Shock

Pokemon: 
    Name: Charmander
    Type: Fire
    Hit Points: 45
    Attack: Flame Burst

This is the Battle() method of my Pokemon class 

Get ready for battle!
***** hit 1
***** damage 11
***** ** this HP 39
***** ** other HP 45
***** hit 1
***** damage 11
***** ** this HP 28
***** ** other HP 45
***** hit 1
***** damage 11
***** ** this HP 17
***** ** other HP 45
***** hit 1
***** damage 11
***** ** this HP 6
***** ** other HP 45
***** hit 1
***** damage 11
***** ** this HP -5
***** ** other HP 45
Last Run: 8:41:38 am
Compile: 0.11s
Execute: 0s
Memory: 8kb
CPU: 0s