This is how the game work:
You start by swiping the cube over the target to start the game. Then 1 color is shown and you have to answer with the right color on the cube. If right (as in the clip) the game advances to next level. If you get it wrong, you have to start from the beginning.
As the game progress the sequence of colors to remember increases with one. Currently it has 40 levels but the record is around 9.