This was a simple game for my coding class where an apple will run from you. You earn points by keeping contact with the apple for 3 seconds but if you lose it the timer will restart. If the apple hits the edge than it will count as a loss.