Use the arrow keys to move the ball. If you touch red, you have to restart the level, so be careful! There are 10 levels.
I used @okthisisgood 's how to make a platformer to make this (With a couple of tweaks)