microsoft / TextWorld

​TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games.
Other
1.2k stars 188 forks source link

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

Open ronentk opened 5 years ago

ronentk commented 5 years ago

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!

MarcCote commented 5 years ago

@tavianator is working on something similar at the moment. Unfortunately, we don't have an ETA at the moment.