Show HN: I Turned DOOM into a Transformer

falperc 64 points 16 comments October 29, 2026
github.com · View on Hacker News

Instead of trying to run DOOM on things, I have instead decided to use DOOM (many, many, many doom games actually) to create a transformer. For a lot of the math required I essentially had to use DOOM game mechanics and voodoo dolls (DOOM is turing complete btw) and exchange them with the actual operations, essentially creating an alternative to NumPy (a 65000x slower one). Thus, I am proud to present DOOMFORMER. Here are a list of things DOOMFORMER can do : It can classify MNIST digits, even if you write these digits on the map! It can talk(kinda) You can use it to make decisions, so, it can play DOOM. Yes! You can play DOOM with thousands of DOOM games now! The marine's mind can be controlled by DOOM, playing on a map generated by DOOMFORMER. Truly, the possibilities are endless, and even larger-scale training of DOOMFORMER could be done on a measly T4. If anyone would like to help me scale this up and make crazier things, I'd love to work together.

Discussion Highlights (6 comments)

saucesaft

now everything can run on DOOM ?

slowin

This is absolutely incredible. I feel like this could help visualize a neural network, but you have to know a lot about DOOM to really understand it.

stmonty

Self-plug I have a very similar blog post title but a very different approach. Honestly, I like your idea more than my own idea. https://nostalgia.dev/posts/running-doom-inside-a-transforme...

andai

Awesome >a handwritten digit takes 163 seconds of real-time DOOM in one map at the default schedule and 8 seconds at --opt 3. What does this refer to? What does schedule mean here, and what are these opt levels? Edit: oh sweet Jesus https://github.com/mottopanikeiku/doomformer/blob/main/docs/...

mattmcal

I think it might be more interesting to target Boom/Boom-compatible, if possible, rather than ZDoom. ZDoom already has so many advanced features, you could implement the entire thing trivially in ACS. At least a table of required engine features would be nice to see; some are likely already supported in other source ports.

bjconlan

Came for the "doomformer" based snow lyric puns... Left with a feeling my people are on slashdot.

Semantic search powered by Rivestack pgvector
10,991 stories · 103,785 chunks indexed