Sure, here's an example of a simple game that meets your requirements:
To play the game, simply save the code above into a .html file, open it in a web browser, and then you can interact with the falling green cubes using your mouse or touch gestures on a smartphone. The goal is to reach a score of 25 points without letting the green cubes reach the bottom of the screen, as it will decrease your health.