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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -