In the foreground - the racing car (drawn with the use of the following image):
the car should be drawn in such a way, that the blue background of the original car image is not visible; the car shape should be exactly the car from the source image, however some of its parts can be (semi)transparent
The game:
The car moves with some velocity, heading in some direction
The velocity and the direction can be changed with the up, down, left and right keys on the keyboard
If the car moves out of the racecourse, it crashes
assume that the car crash occurs when the middle point of the car is over the green field outside of the racecourse
after the crash the car is loudly put on fire, which the spectators perceive as (see the second screenshot):
an orange semitransparent circle
a "BOOM!" writing
both the circle and the writing are placed directly over the car (the middle points of the car, circle and writing should be the same)
pressing the S key on the keyboard restarts the game
Technical requirements:
All the drawing should be flicker-free
Only the source images can be used (don't use any transparent versions if the images created with some graphics processing application)