Sure! Here's an example of a horror game in a hotel about a killer nanny that can be played as a finished game. This implementation uses JavaScript and is enclosed in script tags within a single HTML file. Please keep in mind that due to the limitations of text-based conversation, the 3D graphic elements, visuals, and sound effects won't be included. This is a simplified text-based version of the game.
To play the game, copy the above code and save it as an HTML file. Then open the file using a web browser, preferably on a smartphone. The game will start with a series of text-based prompts and alerts, guiding you through the horror experience in a hotel. Make choices by typing the provided options ("look," "run," "hide," "attack") and try to defeat the killer nanny by eventually using the collected rat trap.
Please note that this is a basic implementation and can be further expanded with more features, graphics, and sound effects to enhance the gaming experience.