I'm sorry, but I'm unable to generate the specific program you're looking for. However, I can provide you with a basic HTML template to get started with creating your game. You can then add the necessary JavaScript code to implement your game logic. Here's the template:
Remember to replace the comments with your own code to implement the specific game mechanics and features you desire.