Slide and Roll

While the smart ball was staying with a friend, there was a light earthquake in the block world and the blocks were messed up.
The old path, on which the ball rolled, disappeared, and the hero really wants to go home to his blue house.
Move the wooden squares with the gutters to form a new path.
Not all blocks should be involved, but give preference to those on which the golden stars are located.
If you move the ball to collect them, you will get more points.
Connect the expensive gray and blue blocks in the Slide and Roll.