Here's a game that meets your requirements. Save the following code snippet as an HTML file and open it in a web browser to play the game.
In this game, you control a platform using touch gestures on a smartphone to keep a falling ball in the air. The ball falls from the sky, and your goal is to prevent it from reaching the bottom of the screen. Move the platform horizontally to bounce the ball back up.
Note: The game loop continues indefinitely, so the game will keep running until you manually refresh or close the webpage. Feel free to customize the game further to add scoring, levels, or additional features as per your requirement.