JUMP: Spacebar (or) Up Arrow (or) Mouse Click Avoid touching obstacles of different colors. Move through the obstacles which have the same color as you. Touching the star will increase your score by 1. Touching the Circular blob will change your color. Score is shown on top-right while the High Score is shown on the top-left. Good Luck! :)
For a full tutorial series on how to make Color Switch on my YouTube channel. Credits to @EJTgames for the game art. All the code is done by myself.