Sure! Here's a simple game that meets your requirements:
This game is a simple gravity-based game where you have to control a ball using touch controls on a smartphone. The objective is to guide the ball into the black hole at the bottom of the screen. The ball is affected by gravity, and you can control its direction by touching the screen. Once the ball reaches the black hole, the game restarts.
The game uses HTML5 canvas for rendering and JavaScript for game logic. The ball's velocity is updated based on touch input, and the ball's position is updated on every frame. The game loop is implemented using `setInterval`, and the `draw` function is called to render the game objects on the canvas.
I hope you enjoy playing this game! Let me know if you have any further questions.