Description
Doomformer is a unique project that compiles integer neural networks directly into DOOM maps. This innovative approach transforms the abstract computations of a neural network into a tangible, explorable environment within the classic video game DOOM. The system leverages elements within the game engine to represent and process neural network operations.
Read More
At its core, Doomformer utilizes 'voodoo dolls' within the DOOM map to perform arithmetic calculations. These entities are programmed to execute the necessary mathematical operations that drive the neural network. Values within the network are represented by environmental factors in the DOOM map, specifically light levels and the heights of planes (floors and ceilings). This creative mapping allows the state of the neural network to be visualized and interacted with as players navigate the generated map.
A critical aspect of Doomformer's design is its commitment to accuracy. Every value computed within the DOOM-based neural network is checked against NumPy, a standard library for numerical computing in Python, with a tolerance of zero. This stringent verification process ensures that the unique computational environment within DOOM maintains the precision required for neural network operations, despite its unconventional implementation.
The project includes various components such as `demos`, `docs`, `examples`, `models`, `site`, `tests`, and `training` directories, indicating a comprehensive development effort. The `examples` directory, for instance, features a Colab notebook that demonstrates how a digit drawn by a user can be read by DOOM, showcasing a practical application of the compiled neural network. Recent commits highlight ongoing development, including a museum map, a CI run for the Colab notebook, and updates to the extractor for flags, destinations, and reset scripts. Doomformer offers a novel way to visualize and understand neural network computations through the lens of a classic game.
- CategoryAI Game Development Tools
- Pricing ModelOpen source
- DeploymentCloud
- PlatformsWeb
Doomformer's Core Features
Compiles integer neural networks into DOOM maps
Uses DOOM's voodoo dolls for arithmetic operations
Represents neural network values with light levels and plane heights
Zero-tolerance verification of values against NumPy
Includes runnable demos for practical application
Features a Colab notebook for digit recognition by DOOM
Comprehensive documentation and examples
Supports various neural network models
Includes training utilities for network development
Provides a unique visualization of neural network computations
Actively maintained with recent commits and releases
Open-source project hosted on GitHub
Getting Started with Doomformer
Clone Repository: Use `git clone https://github.com/mottopanikeiku/doomformer.git` to get the project files.
Install Dependencies: Follow instructions in the project's documentation to install necessary Python libraries and DOOM-related tools.
Explore Demos: Run `python -m demos.<name>` to experience pre-built demonstrations of neural networks in DOOM.
Review Examples: Check the `examples` directory for notebooks, such as the Colab notebook for digit recognition.
Develop Networks: Utilize the `training` directory to understand how to train and integrate your own integer neural networks.
Generate Maps: Use the Doomformer tools to compile your trained neural networks into custom DOOM maps.
Play and Interact: Load the generated DOOM maps to visualize and interact with the neural network's computations.
Doomformer's Use Cases
- Neural Network Visualization
- Educational Tool
- Creative AI Experimentation
- Game-Based AI Research
- Interactive Model Debugging








