Sure! Here's an example of a simple game implemented as a single HTML file using JavaScript and enclosed in script tags. It is a game where the player needs to catch falling apples by moving a basket with a smartphone's tilt controls. Pictogram-like images are used for visualization.
To play the game, simply open the HTML file in a browser on your smartphone and tilt your device to move the basket and catch the falling apples. The score will be displayed at the top of the screen. Enjoy playing the game!