Space to attack, right arrow key to go right, up arrow key to jump. Destroy the skeletons that come at you.
I got the idea from Bone Battles v1.0 by 1dat_doodles.