Sure! Here is an example of a simple rhythm game with note arrows implemented as a single HTML file using JavaScript. It can be played on a smartphone and uses pictograms for the note arrows.
You can try running the above code in any browser to play the rhythm game. Simply tap or click on the note arrows (represented by the pictograms) when their corresponding arrow keys are shown on the screen. The goal is to press all the notes in sequence to achieve a high score. Enjoy the game!