Sure! I've created a simple game as per your requirements. Here's the implementation:
Apple Game
Click on the apple 30 times and you die.
In the above code, an apple image is displayed, and the player needs to click on it to increase the click count. Once the click count reaches 30, a game over alert is shown.
Please note that the `emozi_all/apple.png` image file should be in the same directory as the HTML file. You can replace it with your desired image and adjust the width accordingly.
Let me know if you need any further assistance!