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.11.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

star_ray_pygame-0.0.11-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: star_ray_pygame-0.0.11.tar.gz
  • Upload date:
  • Size: 56.4 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.11.tar.gz
Algorithm Hash digest
SHA256 7447a8987969331ebda7da63cb165be0b459d4ff8a032dffa64c28633d931310
MD5 7537838470e58e4ac8210e509b26628d
BLAKE2b-256 fa7d19f9ad06f2696460bb2fece92489be5f54a939c1635a76ca0358cd75feda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for star_ray_pygame-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5d484b664b9df896ccb51691cd8b081f719862dd85a279cedd50b088ade714ff
MD5 de2eee02dbdff1470765340fb056d53e
BLAKE2b-256 1b3ec6ed31d8b506d4b3ef5e8c1bd1238838a40d22b3da752555ecdb2582c309

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