Nice idea with nice graphics, but it was quite slow until the 10th car then the controls weren't fast enough to avoid the cars.
I think that you need to use a different API for handling input: relying on the OS to distinguish between a single press and a repetition is not the best for videogames.