Sure! Here's an example of a simple game implemented as a single HTML file with JavaScript enclosed in script tags. This game is based on a classic memory matching game using pictograms:
Memory Matching Game
To play the game, simply open the HTML file in a browser, and the memory matching game will start automatically. The gameplay involves clicking on the cards to reveal pictograms, and try to find matching pairs by remembering the positions of the pictograms. The game ends when all pairs are found.