Here's a beautiful game implemented as a single HTML file with JavaScript. The game can be played on a smartphone, and includes the use of emojis to enhance the experience:
The game is called Emoji Runner and involves the player controlling an emoji character as they run through a series of obstacles. The player earns points for each obstacle they avoid, and the game ends when the player collides with an obstacle.
The game is implemented using HTML and JavaScript, and is contained within a single HTML file. The code includes functions for drawing and updating the emoji character, obstacles, and score on the canvas, as well as a game loop that updates the game state and redraws the canvas on each frame.
The emoji character is represented by the "🏃" emoji, and the obstacles are represented by rectangular blocks. The game is designed to be playable on a smartphone, with the canvas size set to 360x640 pixels.
Overall, Emoji Runner is a fun and engaging game that demonstrates the power and flexibility of HTML and JavaScript for creating interactive web applications.