MudGym
A Gymnasium reinforcement learning environment for MUD2. One of the first online multiplayer text adventure games.
Run in your browser:
Local Setup
Install MudGym from PyPI:
uv add mudgym
Quickstart
from mudgym import make_env
env = make_env(observation="parsed")
observation, info = env.reset()
observation, reward, terminated, truncated, info = env.step("howl")
print(observation["room_name"], reward)
env.close()
Docs
See the docs.
Citation
@misc{Mawlabaux2026MudGym,
author = {Mawlabaux, Rolo},
year = {2026},
title = {MudGym},
doi = {10.5281/zenodo.22730678},
url = {https://rolo.github.io/mudgym/},
}
To cite a specific release, use its version DOI from Zenodo. You can also use GitHub's sidebar link.
License
The Python code and tooling in this repository are made available under the MIT License.
Permission to use the MUD2 game for research purposes has been provided by Richard Bartle, with kind thanks. The MUD2 game, name, source code, and associated story remain the intellectual property of Richard Bartle and Roy Trubshaw and may not be used for commercial purposes.
Metadata
Release files for mudgym 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mudgym-0.7.1.tar.gz | 86.9 kB | With provenance | Details for mudgym-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mudgym-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for mudgym-0.7.1-py3-none-any.whl |
Total release size: 191.6 kB
Release files / mudgym-0.7.1.tar.gz
| Download URL | mudgym-0.7.1.tar.gz |
|---|---|
| Size | 86.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45ced5744a04c19cedbd1aa797116b79a630883640ea83927f7ac1ab51bfb3a9
|
|
BLAKE2b-256 checksum How to use checksums |
7f501a3bef9866cd5ce79fa18bfa3247053e436c1e43e6f0b03d049418599d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / mudgym-0.7.1-py3-none-any.whl
| Download URL | mudgym-0.7.1-py3-none-any.whl |
|---|---|
| Size | 104.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddee76e6af72835767d87b7f04714ccbb064e21bdb355778191ddad9e749c0e7
|
|
BLAKE2b-256 checksum How to use checksums |
1a876af01c7b0929c95df509ec9b4d18cf51d696ed742c3f2e500430f01a5892
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for mudgym 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mudgym-0.7.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.