rachellewillemsma / textadventure

0 stars 0 forks source link

processing shortened nouns #12

Open rachellewillemsma opened 2 years ago

rachellewillemsma commented 2 years ago

– when an object name has multiple words, the object is filed under both its full name as well as each individual word and word combination – when "tree" is entered, the program should search for all objects matching "tree" in the current location and inventory – should only one tree be found, it should default to this – should multiple trees be found, it should ask which the player means, for example "do you mean the apple tree or the pear tree" – the program should be able to respond both to "apple tree" or simply "apple" – if just "apple", then it will search for any object which is filed both under tree and under apple

rachellewillemsma commented 2 years ago

potential edge case: "apple" vs "apple tree"