A developer known as Ading2210 has ingeniously created a playable version of Doom (1993) that runs inside a PDF file, aptly named DoomPDF. This project showcases the surprising versatility of the PDF format, which supports JavaScript for interactive features. The game can be played in any Chromium-based browser (such as Google Chrome) that supports PDF rendering engines like PDFium.To make this possible, Ading2210 used an older version of Emscripten to compile Doom's C code into asm.js, allowing it to run within the constrained JavaScript environment of a PDF file. Instead of rendering individual pixels as text fields—which would have required
That’s ok nothing else does either :P
I know it’s a joke, but I’m totally typing this message out to you on Firefox and it is working just fi
:D