To complete a level you have to turn the colored blocks in white. To do this, remove the same patterns. The more blocks you remove at the same time, the more points you get for outdoor tiles. The number of steps you have not restricted, but the more moves you spend, the less points you get at the end. Some cubes before they turn into white first few times will change color.