Sure, here's a simple text-based game inspired by GTA (Grand Theft Auto) where you can pretend to be a street racer. It can be played directly in a single HTML file using JavaScript:
GTA Street Racer
In this simple game, you start with $1000 cash and a wanted level of 0. You can choose to race, steal, or quit. Racing costs $500 and has a 50% chance of winning or gaining a wanted level. Stealing rewards you with a random amount of cash and increases your wanted level. The game ends either when you reach a wanted level of 5 or choose to quit. After the game ends, it displays your final cash and wanted level.
Note: This is a very basic implementation and just serves as an example. In a real game, you would need more elaborate design, graphics, and user interaction.