Sure! Here's a simple racing game implemented as a single HTML file:
This game features a car that the player controls using the left and right arrow keys. The objective is to avoid colliding with the randomly moving obstacles. The score increases as the player successfully avoids obstacles. When the player collides with an obstacle, the game ends and displays a "Game Over" message.