Sure, here's an example of a simple game using JavaScript enclosed in script tags:
Pictogram Game
In this example game, a random pictogram is shown to the user, and the user needs to guess the corresponding word. The pictograms are represented by Unicode characters (e.g.,
🐶 for a dog). The user's guess is taken through a prompt dialog, and then the script checks if the guess is correct using a simple if statement. The user is alerted whether their guess is correct or not.
You can customize and enhance this game further based on your requirements and preferences.