First of all: it is almost impossible to win this game! So tell me if you do. Press the up arrow key to accelerate, and left and right to turn.
Credit to Co_od for the original program. Now, the AI car actually finishes the race! It takes the computer 208 seconds to complete (74 secs in Turbo Mode).