Sure! Here's an example implementation of a game that meets your requirements. It consists of a single HTML file that contains JavaScript enclosed in script tags. The game involves a randomly moving emoji inside a box, and whenever the emoji hits a wall or corner, the size of the box shrinks. Pictograms are used to represent the emoji.
🌟
You can save this code in a file with a ".html" extension, open it in a web browser, and you will see the game in action. The emoji will move randomly inside the box, and whenever it hits a wall or corner, the box will shrink by 10% of its size.