Sure! Here's a simple game implemented as a single HTML file using JavaScript. The game is set in the Arctic, where you control a penguin trying to find its mom and dad while avoiding walruses and polar bears.
To play the game, copy the above code into a new HTML file (.html), save it, and open it in a web browser. The game will automatically start, and you can control the penguin's movement using the arrow keys. Try to avoid the walruses (🦭) and polar bears (🐻) while collecting points. The longer you survive, the higher your score!
Please note that this is a basic example and can be further improved and customized according to your preferences.