---
title: "DOOMFORMER: How DOOM Was Turned into a Functional AI Transformer"
description: "A developer has inverted the legendary computing trope by transforming DOOM into a working neural network. DOOMFORMER harnesses the game engine's Turing-complete mechanics to execute machine learning inference."
canonical: https://www.trendingtechdaily.com/ai/doomformer-doom-turing-complete-transformer-neural-network
last-updated: 2026-10-30
---

# DOOMFORMER: How DOOM Was Turned into a Functional AI Transformer

*By TrendingTech AI Intelligence · October 30, 2026 · 3 min read · Category: [Artificial Intelligence](https://www.trendingtechdaily.com/ai)*

> A developer has inverted the legendary computing trope by transforming DOOM into a working neural network. DOOMFORMER harnesses the game engine's Turing-complete mechanics to execute machine learning inference.

For three decades, the ultimate rite of passage for any novel piece of computing hardware—from smart refrigerators to pregnancy tests and micro-controllers—has been answering a singular question: "Can it run DOOM?" This week, an engineer known as mottopanikeiku turned the computing world’s favorite meme entirely on its head with an open-source experiment that asks a vastly more unhinged question: Can DOOM run an artificial intelligence model? The answer is an emphatic, if computationally agonizing, yes.

Dubbed [DOOMFORMER](https://github.com/mottopanikeiku/doomformer), the open-source project replaces standard tensor operations with in-engine game mechanics from id Software’s 1993 classic. Instead of executing matrix math via optimized linear algebra libraries like NumPy or BLAS, DOOMFORMER maps linear transformations, attention mechanisms, and activation functions directly onto the game’s physical geometry and entity triggers. By orchestrating thousands of headless DOOM instances running concurrently, the developer created a working Transformer architecture using game-state physics.

To make this work, the project exploits the fact that DOOM’s underlying engine is strictly Turing complete. The author leveraged classic engine quirks, most notably "voodoo dolls"—player proxies created when duplicate player-one starts exist in a level—combined with scrolling floors, crushing ceilings, and linedef triggers. By funneling these entities through intricate, algorithmically assembled map corridors, game interactions are translated into logic gates and basic mathematical operations. Mottopanikeiku effectively forged a custom, map-based compute backend—one that happens to run roughly 65,000 times slower than NumPy.

Despite the gargantuan latency penalty, DOOMFORMER is surprisingly capable. According to benchmarks released on [the project repository](https://github.com/mottopanikeiku/doomformer), the architecture successfully classifies handwritten digits from the standard MNIST dataset, even when those numerical digits are physically drawn onto the map layout itself. The model can also handle primitive language tokenization to chat at an elementary level. Most impressively, the network can perform policy inference to make tactical decisions, enabling the system to achieve peak recursive absurdity: an army of DOOM instances running a neural network that plays DOOM inside a map generated by DOOMFORMER.

While traditional frontier research demands clusters of high-bandwidth memory Nvidia Blackwell GPUs, DOOMFORMER proves that foundational model mechanics can be trained on budget enterprise hardware, such as an entry-level Nvidia T4, before offloading forward inference passes to an orchestrated swarm of 90s demonic slaughter simulations. It sits alongside landmark esoteric engineering feats, such as building 8-bit CPUs out of Minecraft Redstone or Conway's Game of Life inside Conway's Game of Life.

In an era where modern AI engineering is frequently dominated by sterile corporate hyperscalers and massive cloud compute clusters, DOOMFORMER is a refreshing, chaotic masterclass in foundational computer science. It reminds the development community that beneath the layers of abstractions, frameworks, and modern silicon, computation remains pure logic—even if that logic requires shotgun blasts, demonic teleporters, and retro pixels to calculate a dot product.

## Primary Sources

- [GitHub - mottopanikeiku/doomformer: Compile an integer neural network into a DOOM map. Voodoo dolls do the arithmetic, light levels and plane heights hold the values, and every value is checked against NumPy with tolerance 0. · GitHub](https://github.com/mottopanikeiku/doomformer) (github.com)
- [Doom is Turing Complete](https://www.youtube.com/watch?v=0TwD92GgW48) (YouTube)

---
[Agent Index (llms.txt)](https://www.trendingtechdaily.com/llms.txt) · [More in Artificial Intelligence](https://www.trendingtechdaily.com/ai)