Place the squares of the same color to the extremes and increase the level of difficulty while you achieve the objectives of each phase.
You have to match the squares of the same color, moving them in a way that would not affect your next moves. Use the Arrow Keys.