textadv | An interactive fiction engine written in Python | Interpreter library
kandi X-RAY | textadv Summary
kandi X-RAY | textadv Summary
by kyle miller, 2011. the textadv package is a system written in python for creating interactive fiction (also known as text adventures) in python. where most interactive fiction engines seem to have their own programming language in which to write the games, the approach taken here was to create a domain-specific language for python which makes writing these games easy. and, an added benefit is that we get to program in python, so all of the standard libraries are included. unlike many interactive fiction engines, this one is purely rule-based (much like inform 7). this system requires the tornado library for python, and i implemented the system on python 2.7. beyond it working also in python 2.6, i don’t know if it works in
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Decorator that ensures that xobj is held by an actor
- Ensures that xobj is accessible to the actor
- Quick definition of an object
- This function is called when something is done
- Get direction
- Wrap if xobj is not held
- Verify that an object is visible to the actor
- Test if the bind pattern matches
- Matches the given input
- Recurse through mistakes
- Define direction
- Test the test case
textadv Key Features
textadv Examples and Code Snippets
Community Discussions
Trending Discussions on textadv
QUESTION
I'm attempting to make an application for a small game, and I'm currently having an issue of getting my code to work. It should be displaying a window with a text field, a jbutton, and an uneditable text field. I need to get it to read what I put into the first text field. However when I run it all I receive is this:
...ANSWER
Answered 2017-Mar-08 at 03:17You are trying to parse value of the jtfCommand
field which is "Enter Command"
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install textadv
You can use textadv like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page