Wed Jan 15 2025
A few days ago we told you about an innovative CAPTCHA that lets you play Doom, and now fans of the franchise and of technical tinkering can rejoice: the famous 1993 first-person shooter has been ported... to a PDF file. This feat is the work of a high school student known as ading2210 on GitHub, inspired by a similar project for Tetris.
Using the capabilities of Javascript in PDF files, ading2210 used Emscripten to compile Doom in asm.js format, making the game playable in Chromium-based browsers. The rendering, minimalist but functional, is based on a palette of six ASCII-art colours.
Admittedly, it lacks sound and the original palette, but players can still wander around level E1M1, eliminating demons and zombies, simply by typing commands or clicking on on-screen buttons, which allow them to move the character, shoot and switch from one menu to another.
Because of the PDF format, you'll understand that there are a few constraints, notably a response time of 80ms, which in itself isn't really a problem but isn't up to the standards of the genre.
This port continues the long tradition of running Doom on improbable objects, such as toasters, fridges, pregnancy tests and treadmills (you'll find here this long, improbable list).
For those who want to try out this offbeat version, the project is available on GitHub and at this address.
Sources: IGN, Time Extension