Sure! Here's an example of a simple game inspired by the Google Chrome Dinosaur Game, implemented as a single HTML file with JavaScript. The game can be played on a smartphone and it uses pictograms/icons for the visuals.
You can save the above code in a file with a .html extension and open it in a web browser on your smartphone to play the game. The dino can be controlled by tapping on the screen to make it jump over the cactus. If the dino collides with the cactus, the game ends.