Sure! Here's an example of a simple game implemented as a single HTML file, using JavaScript and enclosed in script tags:
This game is a simple match game where you need to find pairs of icons by clicking on them. The icons are represented by pictograms, and they are shuffled each time the game starts. When you click on two icons, if they match, they will stay visible on the board. Otherwise, they will flip back after a short delay of 500 milliseconds.