Sure! Here's an example of a simple game where you can swipe balls around using JavaScript and HTML. The game involves getting a ball into a ring. Please note that due to the interactive nature of the game, it would be best experienced on a desktop or laptop rather than a smartphone.
To play the game, you can save the code above in a single HTML file and open it in a web browser. The game will display a ring in the center of the page, and you can swipe the red ball around using your mouse or touch input (on touch-enabled devices). The objective is to get the ball inside the ring. Once the ball is inside the ring, an alert will be shown congratulating you.