Sure, here's an example of a simple game implemented as a single HTML file using JavaScript:
This game presents pictograms and asks the player to guess the corresponding word. Users can enter their guess in the provided input box and click the "Submit" button. The game keeps track of the score and displays alerts for correct and incorrect answers. When the game is over, the player's final score is displayed, and they have the option to start a new game by clicking "OK" on the alert.
Note: To make this code work, you need to have pictogram images named following the names specified in the `pictograms` array, and ensure they are placed in a folder named "pictograms" in the same directory as the HTML file.