This is a complete game template, called Color Tunnel.
It is ready for release, and it’s excellent for learning purposes.
How to play?
On mobile : move your finger whilde holding the screen to move the player.
On desktop/web : use ‘A’ & ‘D’ keys to move the player.
Your goal is to collect as many balls as you can but only if it’s color and the player’s color are identical. However, if you hit a ball which has different color than the color of the player, then you die.
Documentation contains everything.