Use the W key, the A key, and the d key to move the green car or player 1. Use the up arrow, the left arrow, and the right arrow to move the blue car, or player 2. The goal is to make it all the way around the track without touching the blue line. If you do you get sent right back to the start line. First player to make it all the way around the track wins! ( You don't have to judge. I have that covered with code.) If you want to stop the sound, hit 1. If you want to start the sound again,hit 2.
A thanks to Ms. Simon, my wonderful GATE teacher. A thanks to Maytal, at CreateCodeLoad.com. A last thanks to Violet for some inspiration.