Use the arrowkeys to move and R to restart a level. I'm sure you can figure the rest out.
The music is from games from other Scratchers, including @TimMcCool. I used @timo1os's tutorial, too.