This is a complete game source code.Test it here (WebGL)Or download the test apk file and test it on your android deviceDrag the finger or the mouse on the screen to move the player. Hit the obstacles with the same color to get the score points. Avoid different color obstacles, game is over if you hit any of them. Collect stars and use them to buy new items in the shop menu.