To start the game, you need to accumulate a small amount of coins to buy a ball. You can get these coins by clicking on the blocks and getting coins.
By upgrading the balls, you can make them faster and also so that they do more damage to bricks. The more damage the ball does to the brick, you get more coins.
For completing levels you get diamonds, the more difficult the level, the more diamonds you get. Diamonds start to give from level 10.
While you are away, the game continues to work and earn coins, the more balls you have, the more you will get when you return.