You can press the attack and defend buttons to attack and defend, you and the wizard can get critical hits and only the wizard can get misses. I made it so you can change the HP values because it is not a real game.
The game is very buggy but it really is just a proof of concept for me to use in the futer. If you see a bug DON'T report it in the comments.