mattiasgustavsson/doom-crt ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple playable DOOM port that keeps the original feel but adds a nice CRT screen effect on top.

I want it to run on Windows from a single C file with as little extra stuff as possible, and if you can, make it also work in the browser as a WebAssembly build. It should launch straight into the game using the included shareware WAD, with no complicated setup. The main thing I care about is that it feels like classic DOOM, but displayed through a convincing old monitor look, with scanlines, glow, and a bit of distortion.

Keep the project lightweight and close to the original code where possible. If there are any build details that depend on current tools or docs, look those up online if needed. I mostly want a clean, minimal version that I can compile and run easily, and that shows off the CRT filter nicely.