Sure! Here's an implementation of Minesweeper with a haunted house theme as a single HTML file:
Minesweeper: Haunted House Edition
Please note that in the code above, the image URLs for the mine and flag icons (`url('emozi_bear.png')` and `url('emozi_chicken.png')`) need to be replaced with the actual URLs of the icons you want to use.
To play the game, simply copy the above code into an HTML file (e.g., `minesweeper.html`), open the file in a web browser (preferably on a smartphone), and you will be able to play the Minesweeper game with a haunted house theme.