Play and view Doom in PDF format

Published:

Developed by ading2210, a self-proclaimed “high school student interested in programming, web development and cybersecurity”, Moose PDF the project uses JavaScript support built into the file format to recreate the iconic first-person shooter in text. It runs poorly and plays even worse, but it’s a miracle to see it in action.

“Previous interactive PDF projects I’ve seen use individual text boxes that can be turned on and off to create individual pixels,” ading2210 wrote on the game’s GitHub page. “However, Moosethe resolution is 320×200, which would mean that you would have to switch thousands of text fields every frame, which is impossible. Instead, this port uses a separate text field for each line on the screen and then sets their contents to different ASCII characters. This way, I managed to obtain a 6-color monochrome print, which is enough to make everything legible in the game.”

Moose PDF only works in Chromium-based browsers (Chrome, Edge, Opera, etc.) and supports custom WADs (modified Doom files such as the latest Gallery Experience), although you will need the original Doom WAD for them to work.

Related articles