It's Doom ... running in a PDF file
Briefly

The Portable Document Format (PDF) allows a unique opportunity for creativity and programming challenges, as demonstrated by DoomPDF, a port of the classic game into a PDF format.
According to the author, Github user ading2210, the full specification for Javascript in PDFs was only ever implemented by Adobe Acrobat, but enough interactivity can be coaxed from other platforms.
Using individual text fields as pixels for Doom's 320 x 200 resolution was impractical, prompting the use of a separate text field for each row to display ASCII characters.
Despite the associated security concerns with PDFs, the potential for ingenuity remains, transforming a simple document into a platform for running complex applications like video games.
Read at Theregister
[
|
]