Sure, here's an example of a simple game called "Flower Run" where you need to help a flower dodge the bees by tapping on the screen to make the flower jump. The game is implemented as a single HTML file and contains JavaScript code enclosed in script tags:
To play the game, copy the above code and save it as an HTML file (e.g., "flower_run.html"). Then, open the file in a web browser that supports JavaScript, preferably on a smartphone. When you touch the screen, the flower will jump to avoid the bees. If the flower collides with any bee, a game over message will be shown.