driving game pseudo code:
[car]
x position controlled with left and right arrow keys
user tries to avoid hitting random objects
car stays on preset y-position
[road]
animation speed controlled with up arrow key (appear that car goes faster)
[objects]
an array of objects (deer, bouncing ball, etc) randomly appear from the side onto
the road
checks hitTest for car
- car crash animation if hitTest