dt508-2015-labtest1

Rules of the Test

  • This is an individual test. No collaboration or communication with other students during the test.
  • No use of Google/Facebook or any other external resources
  • You can only access the following websites during the test:
  • You should start the test with a blank Processing sketch
  • Save OFTEN! If Processing crashes and you "loose everything" you will receive 0
  • At the end of the test, zip up the folder with your solution and submit through webcourses only. Do not email me solutions.

Make this in Processing:

YouTube

The road in your sketch should fill the width of the screen. In your solution, you should create and use variables for all important pixel co-ordinates and sizes and use loops.

This is the marking scheme:

Feature Mark
Drawing the road 20
Making the car move left to right 20
Making the car move right to left 20
Making the car switch between lanes 20
Code style & elegance 20