Thats a very interesting way to do battle mechanics.
Btw, some bugs I found: Somehow I ended up inside the other frog without dying. Also if you stand on the edge and move against it it counts as a move and the other frog moves as well, even though the player didnt change position.