Sure! Here's an example of a simple game implemented as a single HTML file using JavaScript:
This game randomly selects and displays two pictograms as buttons, and the player needs to click on the button that matches the pictogram shown on the screen. If the player selects the correct pictogram, they receive a congratulations message; otherwise, they receive a try again message. The game then restarts with new randomly selected pictograms.