Left arrow to move closer, right arrow to glide back to start, k to kick, p to power punch, green flag to start it again leave a heart and star if you love scratch!
Pretty easy got the idea from a game on scratch, forgot the name though lol my bad. Just look up 2 player fighting games and you might get something like this but better.