The goal of the game is to pot all balls (except for the white cue ball).
Click and hold the white cue ball while moving the mouse in the direction you want to hit.
An important tip is to try not to get the cue ball into a corner.
There are unlimited retries, so whenever you're stuck - click the retry button on the top-right part of the screen.