Webb Works Build Log | October 24, 2026 | Development build v0.16
An Arduino UNO Q, a handful of Python systems, a local language model, and a simple idea: tabletop adventure should be possible anywhere, even without an internet connection.
The idea
I wanted to build something that could bring a group of friends around a table without requiring one person to prepare and run every adventure. Not another cloud chatbot, not a laptop full of tabs, but a portable console that could host a shared fantasy world itself.
That's DUNGEONCORE. The goal is for someone to power on the box, connect up to six phones to its own Wi-Fi network, create a character, and explore a persistent campaign through a browser. The players describe what they attempt. The rules engine handles what actually happens. A small, local AI gives those results a narrator's voice.
DUNGEONCORE is still a working prototype, still being developed and tested. This report describes what the current code does, what I've tested on the hardware, and what still needs to be solved.
The system under the hood
The hardware platform is an Arduino UNO Q with 2 GB of RAM. It combines a Linux system for the web server, game logic, database, and local AI with an STM32 microcontroller for physical controls and the SPI microSD reader.
A player's action follows this path:
Phone browser → Python action interpreter → rules and dice → SQLite world state → offline AI narration → updated browser view
That separation is the most important design choice. The AI is not allowed to decide who wins a roll, invent gold, or rewrite combat. Python remains authoritative for those outcomes. The AI's job is to make the moment sound and feel like an adventure.
The software is built around FastAPI, Python, SQLite, JavaScript/CSS, an on-device llama.cpp inference server, and Arduino's application bridge. My current development model is a quantized SmolLM2 360M running locally. It is lightweight enough to experiment with on this hardware, but its limited understanding and narration quality are obvious areas for improvement.
What the code can do today
One world, multiple players
The browser interface provides player accounts, character creation, a shared lobby, turn order, character sheets, and a chronicle of what has happened. The game is designed for up to six players. It also has reconnection and absent-player handling so a missing phone doesn't automatically stall an adventure.
Rules that players can see
The game implements a partial, level-one ruleset based on the open SRD 5.2.1. It handles ability and skill checks, recorded dice rolls, initiative combat, spells and resources supported by the engine, and character health. Roll results are stored separately from the AI's prose so the narrator cannot silently change a failure into a success.
A world that remembers
SQLite tracks quests, inventory, NPC attitudes, scene changes, doors, objects, and campaign history. The campaign defines what exists; the engine stores what players do to it. Some interactions can affect later reactions, rather than disappearing after a single paragraph of narration.
Campaigns on microSD
Campaigns can be packaged as structured world files and copied into a library. The newer code includes a read-only SPI-to-Linux transfer path: the STM32 reads files with SdFat 2.3.0, transfers small chunks across the bridge, and Linux validates the campaign before installing it. Transfers are staged so a failed import should not replace a working campaign.
A Game Master can then manage installed campaigns and separate adventure save slots through the browser. The player-vault system is intended to preserve shared player identities while keeping each adventure's progress apart.
Recovery and offline operation
The project includes SQLite backups, owner recovery credentials, a rescue interface, and a physical shutdown-button workflow. A Linux host helper configures the device's Wi-Fi hotspot and offline AI service. The long-term target is simple: power it on and play, with no external server or internet required.
The free-roam problem, and why v0.16 exists
Early testing exposed a major weakness: too many perfectly reasonable player actions were rejected because the interpreter didn't recognize their wording. Having an AI narrator is meaningless if players are forced into a narrow list of commands.
The v0.16 free-roam update adds a bounded improvisation resolver. Instead of immediately rejecting unfamiliar mundane actions, it can choose a relevant skill, make an actual dice check, and record the result in the scene history. A player might try to vault an obstacle, put on a distraction, bluff a guard, or examine suspicious machinery.
But there is a boundary. An improvised check cannot conjure an item, grant a spell, unlock a campaign exit, or bypass the combat system. Those actions go through the relevant rules. The goal is freedom with consequences, not an AI that simply says yes to everything.
Here's a small excerpt from the actual python/open_actions.py source:
if not cmd or len(cmd) > 300 or VAGUE.fullmatch(cmd.strip()):
return None
if IMPOSSIBLE_SCALE.search(cmd) or GUARDED.search(cmd):
return None
skill = choose_skill(cmd, intent)
if not skill:
return None
This is a useful illustration of how the system is being built. Ordinary attempts get a path forward, but mechanics that need stricter handling stay with the authoritative rules engine.
Testing it on the actual hardware
The most satisfying breakthrough so far was the microSD reader. The original pin setup was revised to the UNO Q's dedicated SPI connections: CS D10, MOSI D11, MISO D12, and SCK D13. After correcting an SdFat dependency issue, the STM32 successfully initialized the card, opened the campaign directory, and read all four main files from The Carnival of Borrowed Tomorrows. The filesystem diagnostic repeated those successful reads.
The v0.15 web API has also been observed running on the UNO Q and responding with HTTP 200 at /api/health. I also hit a real deployment problem: an App Lab application can be running while the separate Linux AI service or hotspot isn't configured. That's why the complete setup needs reliable installation checks for the whole system, not merely a green “running” indicator.
For this report, I ran the v0.16 source's automated tests locally: 24 pytest tests passed, along with 18 additional regression checks. These exercise features such as player-vault behavior, campaign import protection, free actions, and recovery. They are software tests, not a substitute for testing the combined firmware and six-player experience on the UNO Q.
What isn't finished
This is the part of the build log I don't want to hide. The latest combined SPI-to-Linux campaign import still needs end-to-end verification on the physical device. Version 0.16 itself has not yet completed an on-device acceptance test. Creative actions are broader than before, but travel still depends on authored exits, and the engine cannot generate an unlimited, fully simulated world. Character advancement and portions of the tabletop rules remain incomplete. The current 360M AI model can also struggle with nuanced dialogue and complex player instructions.
My next development goals are reliable automatic boot and hotspot behavior, validated model performance, complete advertised rules, safer and richer free-roam interactions, power-loss recovery testing, longer sessions, and a real six-phone group test.
Where it goes next
My next focus is not simply adding more AI. It's making the game respond intelligently to player decisions, while keeping its rules, memory, and recovery dependable. A larger model is worth benchmarking, but it won't fix a weak game engine on its own.
DUNGEONCORE is part of the reason I started documenting builds at Webb Works: to show the working parts, the wrong turns, and the fixes. If someone else sees this project and decides to build their own strange little machine, then the build log has done its job.
Current status: active prototype development, v0.16 software candidate. I’m exploring what it can become.
Built at Webb Works. You dream it, I build it. You own it. Now go build yours.
Explore the v0.16 source
Download DUNGEONCORE v0.16 (ZIP)
344 KB · Development source archive · October 24, 2026
Start with READ_ME_FIRST_v0.16.txt, then docs/RELEASE_v0.16_FREE_ROAM.md. The archive includes code, documentation, tests, and bundled campaign files. Model weights are not included. The Linux AI service and hotspot require separate setup; importing the App Lab ZIP does not install them.
Choose your own hotspot password during setup. Keep the bundled license and attribution notices. Older release and manufacturing documents are development references, not evidence that this prototype has completed hardware testing. The current status and limitations are described above.
← Back to all projects · Workshop notes · Ask me about the build
Leave a comment
I’m still learning what DUNGEONCORE can become. Leave a comment, ask a question, or suggest something to try.
Leave a comment
Private feedback sent to me. No purchase commitment or mailing-list signup.