DOOM has now been ported to... a PDF!
(Works in Chromium)
https://github.com/ading2210/doompdf
GitHub - ading2210/doompdf: A port of Doom (1993) that runs inside a PDF file

A port of Doom (1993) that runs inside a PDF file. Contribute to ading2210/doompdf development by creating an account on GitHub.

GitHub

@dosnostalgic Here's an alt-text description of the video:

The video shows a PDF document displayed in a web browser. The title of the PDF is "doom.pdf". Initially, the PDF is blank. After a second, a dark gray background appears. Then, the first page of the PDF loads, displaying a grayscale version of the original DOOM game. The text "DOOM Shareware" and "Suggested Retail Price $9.99" is visible. There's a section outlining controls: "Controls: a, s, d, w = move; use = space; fire = space; shift+w=sprint; m = map; l,r = weapons". Below that, it says, "Type here for keyboard controls." The bottom of the page shows source code information and a note that the PDF only works in Chromium-based browsers.

The video then shows gameplay of the DOOM game rendered within the PDF, using keyboard controls. The player moves through various levels and fires their weapon. The game's in-game HUD displays health, ammo, and other status information. The controls are used extensively throughout the video. The video ends with a game over screen showing the player's statistics. There is no audio in the video.

Provided by @altbot, generated using Gemini

@dosnostalgic meh
:(

FF latest, built-in PDF-Viewer, Linux

@dosnostalgic there is something mentally wrong with us nerds.
@dosnostalgic Sadly, doesn't work in Firefox.
@dosnostalgic
> The full specfication for the JS in PDFs was only ever implemented by Adobe Acrobat, and it contains some ridiculous things like the ability to do 3D rendering, make HTTP requests, and detect every monitor connected to the user's system.
#wtf
@dosnostalgic WHY CAN YOU EXECUTE CODE IN A PDF FILE, WHO ASKED FOR PDF FILES THAT CAN EXECUTE ARBITRARY CODE, THIS SHOULD NOT HAPPEN

hey
@TodePond is there going to be a third poem
@dosnostalgic finally we can print out a playthrough as a flipbook
@dosnostalgic and here I thought you couldn't have animations in pdfs
@dosnostalgic that shows how dangerous a PDF can be...
@dosnostalgic Someone please tell me that this is not just a new way to deliver attack code via .pdf....
@dosnostalgic ...how did they make it run without constantly getting "out of memory" errors? 🧐