Collect as many balls to make your snake longer. The more blocks you hit the shorter your snake becomes. Make sure you hit a block that has a smaller number on it than the amount of balls the snake has.
Drag the mouse or your finger left or right to move the snake. Get additional balls to make your snake bigger and break as many blocks as you can. The aim of the game is to survive as long as you can.