funny guy leaves the room and you have to keep him entertained. The goal is to survive as long as possible without the funny guy getting too aware of your presence.
Here's an example implementation of the game in a single HTML file:
In this game, you can press the "Q" and "E" keys to reduce the funny guy's awareness points. The game loop periodically increases the awareness points, but also gives you a chance to reduce them when the funny guy leaves the room.
If the awareness points reach 10 or more, it's game over and an alert message is displayed.
You can customize and improve the game by adding graphics, sound effects, and more gameplay features based on your preferences.