Sure, here's an example of a simple JavaScript game based on the popular rhythm game "Friday Night Funkin'" that can be played on a smartphone. The game uses pictograms as graphics for simplicity. Just copy the code below into a single HTML file:
Please note that in order to run this code, you'll need to replace the `emozi_all/player.png`, `emozi_himawari.png`, `emozi_cat.png`, `emozi_rabbit.png`, and `emozi_apple.png` image files with actual pictograms or image files of your choice. Additionally, you can modify the code further to add sound effects, scoring, levels, etc., based on your requirements.