😃
This HTML file contains JavaScript code wrapped in script tags. It creates a simple game where an emoji is displayed and changes randomly every 0.2 seconds. Every 10 seconds, something weird happens. It randomly selects one of four commands: "PARTY", "more emojis", "why is it raining", or "different texture".
If the command is "PARTY", the background color changes to a random color for 0.5 seconds. If the command is "more emojis", 10 more emojis are added beside the existing emoji. If the command is "why is it raining", the emoji changes to a raindrop (
💧) for 5 seconds. If the command is "different texture", the emoji changes to a rainbow (
🌈) for 5 seconds and then changes to a ball (
⚽).
Feel free to save this code as an HTML file and run it in your web browser on a smartphone to play the game. Enjoy!