You can create interactive fiction using a number of tools. One of the best is ‘choicescript’.
You can make interactive fiction easily too. If you want to try it out go to:
It’s easy to pick up and there’s plenty of help to be had on the wiki and the forum.