Magic Five Ball

MagicFive is a traditional puzzle balls game.
Connect 5 or more same color balls to score.

There are 3 balls available on the board for the first time.
You can move them. There are 3 balls on the top-left board,
you can move them next step.

You need to build a line from the balls with same color.
When you get 5 or more, the balls on this line will disappear and you will get some points. If you get zero points, more 3 balls will show on the board. Then over and over again, you lose the game when there is no space to contain a ball.