Prompt
Code a racing game in html, css, and javascript. Make the game self-contained, complete, and embeddable. Use the associated Nurburgring Nordschleife map as the basis for the game. The goal of the race is to complete the track and problems in the shortest possible time. Begin the race at Start and End at Zielgerade. Travel in the direction toward Hatzenbach. At each labeled point along the track, provide a multiplication fact problem randomized between 0x0 to 12x12. Include a timer at the top to display player's race time. Add an input box with a submit button for the player to type in and submit their answer. If correct, continue along the track. If incorrect, add a 5 second time penalty and provide another randomized problem. Begin the race with easier facts and increase difficulty as the game progresses. Increase speed at which problems are presented when players reach Bergwerk and increase again when players reach Schwalbenschwanz. Play auto engine sounds throughout the race. If player answers three problems incorrectly, have player Crash and start over. Provide a Race again button for players who finish the race or crash. When players reach the end at Zielgerade, play a crowd cheering sound and show a trophy along with the player's race time.
Iteration
Stop the automotive sound at the end of the race
Iteration 2
Make this race include only the randomized facts for the 7 and 8 times tables starting with 7x0 and going to 8x12