Play the demo here.
I added the color matching mechanic. Currently there’s only 2 colors, but the code is easily extendable to as many colors as we need. In the end, we’ll probably only use 3 to 5, as I can already tell that the difficultly increases quickly with more colors.
The description of the color matching mechanic, in case you couldn’t figure it out, is that you have to bounce off (or start from) at least 1 surface of a matching color to pick up the gem. So if you try picking up a blue gem, but you start from and bounce off of all red surfaces, you won’t be able to get it.
In the next update, the gems themselves will have multiple colors. To pick up a multicolored gem, you have to bounce off at least 1 surface of a matching color for each color in the gem. I’m tired, so I’m sure none of that makes any sense. You’ll see it when I post it.