R354 Programming Project
R354 Programming Project
R354 Programming Project
by
Benjamin Crawford
Analysis
The program will work by the players pressing WASD or the Arrow keys
Snap
3. Add code to ask the user how long they will play the game. Store this game time value in a variable.
4. Add code to move the car left, right, up and down around the track.
5. Add code so that every time the program is run, the car starts from the same position on the start line.
6. Add code so that if the car moves off the track, the speed is reduced by 50%.
7. Add code so that every time the car completes a lap, the lap count increases. Store this lap value in a variable.
9. Add code so that the game ends when the game time becomes zero.
10. Add code to show the player how many laps they have completed.
Development