Too attack you click attack and to heal you press potion. If your hp is less than 1 you lose and if your enemy's hp is less than 1 you win.
All I did was change Lycanroc to Zeraora, change the attack a bit and improved the speed of the attack.