A text adventure in c++