Sure, here's an example of a simple Windows 98 emulator game that allows you to play Doom using pictograms. Please note that this implementation only demonstrates the basic functionality and does not include the actual game Doom. You can replace the pictograms with appropriate graphics for a more realistic experience.
In this example, we have a basic HTML page with a JavaScript function `startEmulator()` that initializes the game. The `showDesktop()` function displays the Windows 98 desktop using an image, and the `playDoom()` function displays the Doom game using another image.
You can replace the `emozi_rabbit.png` and `emozi_apple.png` with appropriate pictograms or graphics for the desktop and Doom game, respectively. Additionally, you would need to implement the actual gameplay mechanics within the event listener for keypresses.
Please note that emulating a full Windows 98 experience, including running the actual Doom game, is beyond the scope of this simple example. This implementation only presents a framework for a game-like experience within a Windows 98 emulator interface.