I have been learning C++ for some time now, and would like to take a shot at making a text-based rpg. I have made a text rpg with choices (not a parser) but would like to make a text parser for this game. Like:
There is a sword. What do you do?
> Take sword
You took the sword
How would you suggest I go about making something like this?