Move the balls to from lines of 5 or more balls of the same color. The lines can be horizontal, vertical or diagonal.
A context menu should be shown when right-clicking or, on touch devices, long-pressing in the game. This menu especially allows to play in full screen and control the volume.