Sure, here's an example of a simple game implemented in a single HTML file using JavaScript:
Simple Game
In this game, there are five pictograms displayed on the screen. When the player clicks on any of them, the pictogram turns red and rotates 45 degrees for one second before returning to its original state. You can modify and expand this example to create a more complex game experience using additional JavaScript logic and functionalities.