Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miniworlds_robot-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miniworlds_robot-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

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

Hashes for miniworlds_robot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d154235fca625c2cb69c737592ce2f7df9831a547d13fbd63754d4670e10a88
MD5 230e4e7e73bf7b87d50871aa68a5c3e1
BLAKE2b-256 fda61099431ef50a3dcf304a544382827f64d644389513a9fcee6204d9d830a4

See more details on using hashes here.

File details

Details for the file miniworlds_robot-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for miniworlds_robot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce1fc1037b09d6367b9eeed0c266d5c7c027d6f69e968237b7884e5364b2dd7
MD5 ec63294b7d6c559e10149f01615a7e08
BLAKE2b-256 14b6c465060eb6c9b0ee914f45a3eed2687302a568fe289284f1fa565a334b67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page