Actor-based robot worlds for miniworlds
Project description
miniworlds-robot
miniworlds-robot is a small extension library for miniworlds. It provides
robot worlds with a restricted, configuration-driven API for learners.
The library builds everything from miniworlds worlds and actors. It does not load pygame sprites or expose pygame primitives.
The package is intentionally kept separate from the miniworlds core package so it can later live in its own repository and be published on PyPI.
Example
from miniworlds_robot import Loader
world = Loader.load_world("basic")
robot = Loader.load_robot("standard", world, position=(1, 1))
robot.step()
robot.turn_left()
print(world.is_solved())
world.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miniworlds_robot-0.1.0.tar.gz.
File metadata
- Download URL: miniworlds_robot-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d154235fca625c2cb69c737592ce2f7df9831a547d13fbd63754d4670e10a88
|
|
| MD5 |
230e4e7e73bf7b87d50871aa68a5c3e1
|
|
| BLAKE2b-256 |
fda61099431ef50a3dcf304a544382827f64d644389513a9fcee6204d9d830a4
|
File details
Details for the file miniworlds_robot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: miniworlds_robot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce1fc1037b09d6367b9eeed0c266d5c7c027d6f69e968237b7884e5364b2dd7
|
|
| MD5 |
ec63294b7d6c559e10149f01615a7e08
|
|
| BLAKE2b-256 |
14b6c465060eb6c9b0ee914f45a3eed2687302a568fe289284f1fa565a334b67
|