microsoft / microsoft/TextWorld
Adding pattern-based propositions (like 'touchable')?
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.4k
- Forks
- 207
- Avg merge
- 8d 22h
- Merged PRs (30d)
- 1
Description
Hey,
How hard would it be to add a pattern based proposition such as touchable (like the native one in Inform7)? So for the simple example of taking an object instead of having to write
take/c, take/s, take for every possible location of o, one could just write touchable(o)?
I seem to remember there being talk of this, but wasn't sure what was decided in the end.
It could be really nice, and add lots of flexibility in writing new rules!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked inventory.twl example and the issue's discussion of Inform 7's touchable proposition. Clarify the intended pattern-based proposition semantics and how it should replace the repeated take/c, take/s, and take rules. Done should be demonstrated with the taking-object example and documented behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100