Game Rules: Click green flag, use right and left arrow keys and space bar to move Nano. Object is to avoid getting hit. Increase difficulty by changing Speed. Score is reduced each time Nano is hit. Purpose: Demonstrate using a dynamic variable 'Speed' and a static variable 'Score'. Also shown is how to move right and left by 'key pressed ' ,how to jump up and down 'when space key pressed' and how to make a ball bounce.
CCOW exercise. Cloned from Eric's Variables video:https://www.youtube.com/watch?v=uXq379XkhVw