Sure, here's a basic example of a game where you have to tap on emojis to kill them. You can save the code in a single HTML file and open it in a web browser to play:
You can save the above code in an HTML file, open it in a web browser, and you'll see a game screen with emojis appearing every 2 seconds. You can tap on the emojis to kill them and increase your score. The game ends after 30 seconds, and your final score is displayed in an alert box.