Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Adding pattern-based propositions (like 'touchable')?

未关闭
#172 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
领域
game-dev

调研方向

首先阅读链接的 inventory.twl 示例,以及 issue 中关于 Inform 7 的 touchable 命题的讨论。明确基于模式的命题语义,以及它应如何替换重复的 take/c、take/s 和 take 规则。应通过拿取对象的示例来展示完成的结果,并记录其行为。

由索引模型根据 Issue 内容生成。

描述

enhancement

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!

主要语言
Jupyter Notebook
星标
1.4k
派生
207
平均合并
10 天 23 小时
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/TextWorld 的其他 Issue

查看 microsoft/TextWorld 的全部 Issue

相似的 Issue

更多 Game Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。