Sure! Here's an example of a simple game where the player has a pistol and needs to survive from zombies using only pictograms. The game will loop indefinitely until the player decides to exit.
To play the game, you can copy this code and save it as an HTML file, then open it in a web browser. The player character (represented by a blue rectangle) can be controlled using the arrow keys on a smartphone, and tapping the screen will shoot a bullet. The goal is to survive as long as possible by avoiding the zombies (represented by green rectangles) and shooting them down with bullets. If the player gets caught by a zombie, an alert message saying "Game Over!" will be displayed.