Use the arrow keys to move. Dodge the cars, if you hit them you lose. They get incrementally faster. If you want to clear the pen marks, press C. To choose car, hold down the number for one second. Pseudocode: Custom Block “Movement” Procedure Movement() Forever { If (right arrow key pressed) { Change x value by 8 } If (down arrow key pressed) { Change y value by -8 } If (up arrow key pressed) { Change y value by 8 } If (left key pressed) { Change x value by -8 } }
What the program does: In the beginning the program asks the user if they like car games using the ask block. Then the program uses nested if statements to determine what car the user chooses based on their numerical input. Moreover, this program utilizes the forever block to constantly bring in cars that the user has to dodge using the arrow keys, until the user crashes into one of the cars causing a change in the background as well as the user's sprite for an instant. The user then sees that they lost and are shown their score and a chance to reset using the spacebar. The spacebar is just a activating the custom block set to start the game. --Explosion: http://clipartix.com/wp-content/uploads/2016/06/Explosion-clip-art-free-free-clipart-images.jpg Date of usage: 11/13/16 --Car horn sound effect: https://www.youtube.com/watch?v=qkGJCJpFJZY Date of usage 11/15/16 --Background Sound: http://soundimage.org/action/ Date of Usage:11/18/16