Sure! Here's an example of an HTML game based on the scenario you described:
Kirby vs. King Dedede
Game Over
To use this code, you'll need to replace the image URLs for Kirby, King Dedede, and the star with the actual image file URLs. Also, you may need to adjust the image dimensions and positioning based on your desired visual appearance.
The game starts with Kirby and King Dedede displayed on the screen. Stars will continuously drop from the top to the bottom. When you click on Kirby, the score increases. Once the score reaches 10, the game ends and a "Game Over" message is displayed.
Please note that adding actual gameplay mechanics and character animations would require more advanced programming techniques. This example provides a simple foundation for the game you described.