If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Click, drag and rotate the ramps to construct a pathway to safely guide the spheres into the goal. Click the dispenser to unleash a sphere. Clicking the trashcan will reset ramps and spheres. Points are awarded based on amount of spheres lost, time taken to solve the level and difficulty of the level.