MudGym
A WebAssembly-based browser playground for MudGym, a reinforcement learning environment built around MUD2, the multiplayer text adventure game, with examples for training a neural network, hooking up an LLM API, and running Marimo or JupyterLite notebooks against the game.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
MudGym
A WebAssembly-based browser playground for MudGym, a reinforcement learning environment built around MUD2, the multiplayer text adventure game, with examples for training a neural network, hooking up an LLM API, and running Marimo or JupyterLite notebooks against the game.
Posted by @kingrolo · Original source ↗
Story title · @kingrolo · · Source ↗
Show HN: MudGym's WebAssembly browser playground for AI agents in MUD2
Submitted URL · @kingrolo · · Source ↗
https://mudgym.kingrolo.com
Source text · @kingrolo · · Source ↗
I've put together a browser demo for MudGym, a reinforcement learning environment I built around MUD2, the multiplayer text adventure game.
Source text · @kingrolo · · Source ↗
It all runs in the browser with WebAssembly. There's an example to train a neural network to reach a goal room, and one to hook up an LLM API to play the game, or you can run a Marimo or JupyterLite notebook against the game with your own code.
Source text · @kingrolo · · Source ↗
The playground pages are mostly built from Marimo WebAssembly notebooks running under Pyodide and the MUD2 game engine is compiled to WASM, running in the browser or locally via Wasmtime.
Source text · @kingrolo · · Source ↗
The RL env: https://github.com/rolo/mudgym