Sure, here's a simple game implemented as a single HTML file using JavaScript and enclosed in script tags:
Score: 0
In this game, you are presented with three pictograms (represented by image tags in the HTML). Clicking on a pictogram triggers the `checkResult()` function. The function generates a random number between 1 and 3 and compares it with the selected pictogram. If they match, the score is incremented by 1 and an alert is shown indicating a correct guess. Otherwise, an alert is shown indicating an incorrect guess.
The score is displayed in the "Score" element at the bottom of the page. Each time a correct guess is made, the score updates dynamically.
Please note that you'll need to replace the `src` attributes of the `<img>` tags with the actual paths to your pictogram images.