Sure! Here's an example of a short rhythm game implemented as a single HTML file using JavaScript. In this game, you will need to press the corresponding arrow keys in time with the music. Since it's a smartphone game, I'll use pictograms to represent the arrows.
To play the game, load the HTML file on your smartphone and tap the correct arrow (⬆ or ⬇) keys in time with the music. The game will display a message if you press the correct keys and move on to the next song after you hit all the arrows. If you press the wrong arrow, the game will end. Enjoy playing the rhythm game!