As an AI text-based model, I cannot directly create or implement actual game files that involve graphics or interactive elements like PUBG Mobile. However, I can provide you with a simplified example of a text-based game implemented in a single HTML file using JavaScript. Please note that this example is not related to PUBG Mobile and is a very basic implementation:
In this example, the game is a simple number guessing game. When the HTML page loads, the `startGame` function is automatically called, which displays a confirmation dialog box with game instructions. If the user chooses to play by clicking 'OK,' the `playGame` function is called. The user is then prompted to guess a number between 1 and 6. After entering their guess, the game checks if it matches the randomly generated number. Finally, an alert is shown to inform the user if they won or lost the game.
Please note that this is a very basic example for demonstration purposes only, and you can expand and modify it to create more complex games using additional HTML, CSS, and JavaScript.