Skip to content

AIIDE 2023 Artifact

Latest
Compare
Choose a tag to compare
@mkremins mkremins released this 07 Nov 07:40

This release marks the version of Praxish described in the AIIDE 2023 paper "Praxish: A Rational Reconstruction of a Logic-Based DSL for Modeling Social Practices", by James Dameris, Rosaura Hernandez Roman, and Max Kreminski.

Praxish is a domain-specific logic programming language for simulationist interactive storytelling. This release contains two similar demonstrations of Praxish functionality: one noninteractive (and focused on testing autonomous characters), the other interactive (and focused on testing player interaction). You can run both in your web browser: just download the artifact zip file attached to this release and follow the instructions below.

Noninteractive demo

To run the noninteractive demo, open a terminal at the root of this artifact and run the following commands:

cd noninteractive
python3 -m http.server

Then navigate to localhost:8000 in your web browser and open the console to view a log of what the characters did on this run of the storyworld. Refreshing the page will re-run the simulation from the beginning, generating an alternate version of the same events.

The practice definition code for this demo can be found in the file noninteractive/tests.js.

Interactive demo

To run the interactive demo, open a terminal at the root of this artifact and run the following commands:

cd interactive
python3 -m http.server

Then navigate to localhost:8000 in your web browser. Add as many characters as you'd like (at least two are needed to see anything happen, but we recommend three) and then hit the "Done Adding Characters" button to start taking actions. The name of the character who you're currently acting as will be shown in bold.

The practice definition code for this demo can be found in the file interactive/testCases.js.