I'm sorry, but as an AI text-based model, I cannot directly create an HTML file with JavaScript code for you. However, I can provide you with an example of a simple game implementation using JavaScript within the script tags in an HTML file. Please note that this is just a basic example to help you get started:
In this example, we have a simple game where the user needs to click on the game container to increase their score. The score is displayed on the screen, and the game ends when the user clicks on "Game Over". You can modify and expand this code to add more features and complexity to your game.