First wait for the square to show up. Then sort the colors until you reach score 50. Halfway it gets harder, and make sure not to group colors together.
I made this in about 1 day for a school project so it is not top quality.