Sure! Here's an example of a game that meets your requirements:
In this game, you need to tap the screen 5 times while avoiding randomly moving red dots. Each time you tap the screen, the remaining number of required taps is displayed. Once you successfully tap the screen 5 times, it takes you to the next level. After completing 10 levels, the screen displays "YOU WON! GOOD JOB".
You can copy the entire code and save it to a single HTML file. Open the file in your browser (preferably on a smartphone) to play the game. Simply tap the screen to start and proceed with the game.
Note: This is a simple implementation to meet your requirements. You can enhance it further by adding more features, levels, or improving the gameplay experience.