Here's an example of a simple mini-game in which the player operates a smartphone to rescue passengers from the sinking Titanic using pictograms. The game is implemented as a single HTML file with JavaScript enclosed in script tags:
Titanic Rescue
Swipe left or right to rescue passengers!
Score: 0
In this game, the player is shown an image of the Titanic and is instructed to swipe left or right on their smartphone screen to rescue or ignore passengers, respectively. The score is displayed at the top, and it increases whenever a passenger is successfully rescued. The JavaScript code handles the swipe events and reacts accordingly.
Please note that for the game to fully function, you may need to replace the `emozi_all/game.png` placeholder image with an actual image representation of the Titanic.