Sure! Here's an example of a simplified version of the popular game Flappy Bird, implemented as a single HTML file using JavaScript:
To experience this game, copy the above code into a new HTML file (e.g., "flappy-bird.html"), and open it in a web browser. Use the spacebar to make the bird jump and avoid the pipes. Press the 'R' key to restart the game if it's over. Enjoy playing Flappy Bird!