Press left and right to move. Press up to jump. You can only jump if you're touching a wall. Touch the purple blocks to go to the next level. If you touch red, you die and the level restarts.
This is an old game I made. It's kinda good. I might make another game with the same idea some time.