Sure, here's an example of an HTML file that implements a simple game using JavaScript:
Poop Adventure Game
Help the Kid Find the Toilet!
This game is called "Poop Adventure Game" where a kid needs to find the toilet. On a smartphone, you can touch and drag the yellow player object around the screen to find the brown toilet object. Once the player collides with the toilet, an alert message will congratulate the player, and the game will reset by generating a new random position for the toilet and placing the player back to the initial position.
Please note that this is a simple example to showcase how to create a game using HTML, CSS, and JavaScript. You can customize and enhance the game further to suit your requirements.