Sure! Here's an example of a simple game using JavaScript that resembles a game with doors like in Roblox:
In this game, you'll find three doors represented as clickable div elements. When you click on a door, it will open if it hasn't been opened yet. Each door has an associated door icon, which you can replace with relevant pictograms.
Keep in mind that the URLs for the door icons should be replaced in the `img` tags. Additionally, you can modify the styles according to your preference.
Remember to save this code as an HTML file (e.g., `game.html`) and open it in a web browser to play the game.