Sure! Here's a sample implementation of the game you described using HTML, CSS, and JavaScript:
Note: In order to run this game, you'll need to create or download appropriate images for the player (`emozi_all/game.png`), monster (`emozi_all/monster.png`), blood spots (`emozi_himawari.png`), key (`emozi_all/key.png`), and closed/open office (`emozi_rabbit.png` and `emozi_apple.png`). You can replace the image URLs in the CSS part accordingly.
This is a basic implementation, and you can modify or enhance it further as per your requirements.