Sure! Here's an example of a simple game implemented as a single HTML file using JavaScript, based on the "Battle for Dream Island" (BFDI) TV show. The game uses pictograms to represent the characters.
This game uses a canvas element to display the game graphics and uses touch events to control the character. The goal is to collect as many coins as possible by moving the character (BFDI) towards the coins (represented by the coin pictogram). The score is displayed on the screen. Every time the character collides with a coin, the score is incremented and the coin's position is reset randomly. The game loop continuously updates and redraws the game elements.