Skip to main content

An extension to the `star_ray` package that uses XML as a description language for the state of an environment.

Project description

star-ray-pygame

Ruff

The star_ray_pygame package is an extension of star_ray that implements UI functionality backed by the pygame and star_ray_xml packages.

star_ray_pygame implements a specific type of Agent known as an Avatar which represents a user (typically human) who is interacting with the environment and the agents within it. The UI backend is pygame, and svg (Scalable Vector Graphics) are used to render the UI. The UI state completely integrated with the state of the environment allowing other agents to view and potentially modify it. This is a dramatic departure from some common software engineering practices such as the MVC (or similar) design pattern. The UI is NOT decoupled from the program state - in fact, for the most part it IS the program state. This package relies on another extension star_ray_xml to manage the state of the UI (as well as any other state variables).

This extension has been developed with the intention of exploring human-agent interactions. Agents are able to view a structured version of the UI and modify it as a means of interacting with the user in the most general way. They are able to effectively render text and graphics via their actions. The (human) user may take similar action (via their peripheral devices - mouse, keyboard, etc.) to communicate back (according to whatever functionality the UI is exposing). Agents are able to listen to these user inputs and make futher decisions based on them.

This package serves as a very flexible foundation for supporting researching into human-agent (or AI) interactions on digital devices by leveraging some existing technologies.

See for example, the icua project.

Related Projects

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

star_ray_pygame-0.0.8.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

star_ray_pygame-0.0.8-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file star_ray_pygame-0.0.8.tar.gz.

File metadata

  • Download URL: star_ray_pygame-0.0.8.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for star_ray_pygame-0.0.8.tar.gz
Algorithm Hash digest
SHA256 89185d1d483d2630a7753da22dccd22dc4e6d4e5c539b5e9f6e8c48f86a3e187
MD5 c60a45363edd74c457dab7a74c8753f7
BLAKE2b-256 fc50813f68c4c9600e577676391267f1c8398c5768c2807327b5a2520a3cfd51

See more details on using hashes here.

File details

Details for the file star_ray_pygame-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for star_ray_pygame-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 738d10a69739551d7868d0d7a4a9457ad60cc6d4f60c5bc598ef322f63990ad9
MD5 a7799d9241b0e3cf2669412d9a5d26c8
BLAKE2b-256 33c2cd9824069e38ad2c6c1d251935bfe5358b9bd3948023d8d75463c10a7077

See more details on using hashes here.

Supported by

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