Your objective is to eat the apple. So find the route to apple within time. Remember you can't move if your head is jammed by stones.
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.