in reply to Making a story?

If I understand you correctly you want to generate a story based upon how a user answers various questions. So basically you need to understand input and output. Also if you want to do things like clearing the screen, I guess you are looking for Curses, though I did not think anyone did that anymore. Maybe you want to checkout the NetHack name space.