Sure! Here's an example of a single HTML file game that meets your requirements:
This code creates a simple game where you need to click on a red triangle (represented by the canvas element) 50 times. Once you reach 50 clicks, the canvas is cleared and an ugly bird emoji 🐦 is drawn on the screen.
Feel free to modify the code or add more features to enhance the game further. Hope you enjoy playing it on your smartphone!