As an AI language model, I can help you by providing a basic outline of what you can include in your HTML file to create a simple game similar to Free Fire Max. Please note that the code provided only serves as a starting point, and you would need to further develop and style the game based on your requirements, graphics, and specific game logic.
Please note that this is a basic template to get started with a simple game using HTML, JavaScript, and the `<canvas>` element. You will need to add more functionality, graphics, and game-specific logic to make it similar to Free Fire Max with good graphics.