Sure! Here's an example of a simple bike racing game implemented as a single HTML file using JavaScript. Please note that this is a basic implementation, and you can enhance and customize it further according to your requirements.
In this game, you have a bike represented by a simple rectangle. The bike's position is updated based on acceleration and braking using touch events on a smartphone. The game runs in a loop, redrawing the bike position on the canvas.
You can expand this game by adding a garage, map, bike models, improved graphics, handling controls, and more game mechanics based on your requirements.