nlp - Sensible variable names for a text adventure action -
this difficult one, i've been racking brains come sensible name these variables. instantly hit on one.
take these example actions:
- "throw bottle @ wall"
- "push john door"
- "attack ogre sword"
action thing at/with/on/in/to thing
i need sensible name first "thing", , sensible name second "thing" if had define variable each. so... "interactor" , "interactee"... proper name.
i've been trying explain few people , can't seem concept across, feel free ask me clarify.
the 2 "things" in example seem me "direct object" , "indirect object."
see grammar monster's explanation.
Comments
Post a Comment