Analysis updated 2026-08-07 · repo last pushed 2019-10-21
Build and test custom 2D maze games to study how AI learns through trial and error.
Evaluate whether an AI model can understand and follow natural language instructions in game environments.
Train neural networks on included games like block-pushing or switch-door navigation and visualize the results.
Design games with tunable difficulty to benchmark reinforcement learning model performance.
| facebookarchive/mazebase | echasnovski/nvim | ellisonleao/carbon-now.nvim | |
|---|---|---|---|
| Stars | 246 | 203 | 195 |
| Language | Lua | Lua | Lua |
| Last pushed | 2019-10-21 | 2026-06-16 | 2025-11-05 |
| Maintenance | Dormant | Maintained | Quiet |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 3/5 | 2/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Built on Torch, a retired ML framework using Lua, which requires installing legacy dependencies that may be difficult to set up on modern systems.
MazeBase is a tool that lets researchers build simple 2D maze-like games and train AI models to play them. The core benefit is providing a flexible sandbox where you can quickly design games with specific challenges, tune their difficulty, and then teach neural networks to solve those tasks through trial and error. The games take place on a 2D grid. An agent (the player character) navigates this grid, which can contain various items like walls, water that slows movement, colored switches that open matching doors, and pushable blocks. The games are presented to the AI not as pixels on a screen, but as a list of text sentences describing what is where. For example, the model might see: "Block at [-1,4]. Switch at [+3,0] with blue color." The agent then takes actions, the game updates, and the model tries to figure out the best moves to reach its goals. This project would be used by AI researchers or engineers studying reinforcement learning. For example, if you want to test how well an AI model understands language instructions, you could use the "Conditional Goals" game where the agent must read a sentence telling it which goal to visit based on a switch's color. Ten games are already included, with tasks ranging from pushing blocks to navigating around walls through doors. The project also includes code to train neural networks to play these games, along with a visual display so you can watch the trained models play in your browser. Notably, it was built with Torch, a machine learning framework that is now largely retired, so the code is written in Lua rather than the Python most modern AI tools use.
MazeBase is a sandbox tool for AI researchers to build simple 2D maze games and train neural networks to play them. Games are described to the AI using text sentences instead of pixels, making it useful for studying language understanding.
Mainly Lua. The stack also includes Lua, Torch.
Dormant — no commits in 2+ years (last push 2019-10-21).
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.