Sure, here's an example of a simple game where you control a character to dodge darts. It uses JavaScript and is implemented as a single HTML file enclosed in script tags. You can play it on a smartphone. I've used pictograms to represent the character and darts.
😷
Score: 0
To play the game, simply open the HTML file in a web browser on a smartphone. The character (represented by a smiley face - 😷) can be controlled by touching and dragging the screen. The aim is to avoid the darts (represented by a dart pictogram - 💥) falling from the top. As you successfully dodge the darts, your score will increase.