A Doom source port that runs inside a PDF using JavaScript, letting you play Doom with ASCII graphics directly in the PDF.
This project is a Doom source port that runs entirely inside a PDF file by leveraging PDF JavaScript capabilities. Using Emscripten to compile Doom’s C code to asm.js, the game displays graphics via an ASCII-based framebuffer simulated with text fields. Players can use keyboard input to play, view console logs for debugging, and even load custom WAD files for personalized gameplay. The project explores the unconventional use of PDF JavaScript for interactive applications, combining PDF.js, client-side scripting, and emulation techniques to run a classic game inside a document.
MIT License – see the LICENSE file for details.