Sure! Here's a simple game in a single HTML file using JavaScript where a boy jumps and runs to escape from dogs:
This game uses a canvas element to display the game graphics. The player is represented by a black square, and the dogs are represented by red squares. The player can jump using the up arrow key to avoid collision with the dogs. If the player collides with a dog, a game over alert will be displayed, and the game will be reset.
Please note that this is a very basic game, and you can enhance it further by adding more features, levels, animations, and better graphics based on your requirements.