# DOOMFORMER - Neural networks computed by DOOM's game mechanics

Original title: Show HN: I Turned DOOM into a Transformer

> Hacker News story 50297697 · language: en · submitted 2026-10-29
> Web version: https://zeli.app/story/50297697
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 129 · by [falperc](<https://news.ycombinator.com/user?id=falperc>) · 💬 35
[original](<https://github.com/mottopanikeiku/doomformer>) · [HN discussion](<https://news.ycombinator.com/item?id=50297697>)

## Summary

DOOMFORMER is a wild experiment that runs real neural networks entirely inside DOOM using voodoo dolls, conveyor belts, lava lines, and doors. Numbers become crowds of dolls, matrix multiplies become dolls crossing lava, and attention becomes dolls squeezing under ceiling gates. It reads handwritten MNIST digits, generates DOOM level names with a transformer, answers questions about cheat codes, and even compiles a marine's brain into the level he fights in. Every value is checked bit-exact against a NumPy integer reference, with tolerance zero. Try it via pip or the Colab notebook, and pick your difficulty from "I'm too young to die" to "Nightmare!"

## Key quote

> The marine's brain is compiled into the level he is fighting in: 1,345 voodoo dolls of himself run his transformer and choose his next move, while the level senses the demons and pulls the trigger.

## HN discussion (35 comments)

### [mg794613](<https://news.ycombinator.com/item?id=50301182>)

> Was there even a human involved at all, or was this a "no mistakes" prompt outcome?
>
> Nothing on this page looks made by a human, its _all_ generated, not a tiny bit of it, _all_ of it.
>
> Guess having the word "doom" and "transformer"in your publication is enough today.

### [whycombilater](<https://news.ycombinator.com/item?id=50301860>)

> Just how clever can an infinite recursion of someone disappearing up their own backside be?

### [andai](<https://news.ycombinator.com/item?id=50298792>)

> 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/...

### [bjconlan](<https://news.ycombinator.com/item?id=50299907>)

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

### [slowin](<https://news.ycombinator.com/item?id=50298442>)

> 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.

---

## Cite

- Page: https://zeli.app/story/50297697
- Date: 2026-10-29
- Source: github.com (https://github.com/mottopanikeiku/doomformer)
- Hacker News: https://news.ycombinator.com/item?id=50297697

## Other languages

- zh: https://zeli.app/zh/story/50297697 · markdown: https://zeli.app/zh/story/50297697.md
- ja: https://zeli.app/ja/story/50297697 · markdown: https://zeli.app/ja/story/50297697.md
- ko: https://zeli.app/ko/story/50297697 · markdown: https://zeli.app/ko/story/50297697.md
- de: https://zeli.app/de/story/50297697 · markdown: https://zeli.app/de/story/50297697.md
- es: https://zeli.app/es/story/50297697 · markdown: https://zeli.app/es/story/50297697.md
- ru: https://zeli.app/ru/story/50297697 · markdown: https://zeli.app/ru/story/50297697.md
