If you like the Zork "engine", learn Inform 7. If you like the Colossal Cave "engine" better, you might like to look at https://github.com/Quuxplusone/Advent/blob/master/ODWY0350/a... — it's very easy to remodel with your own rooms, items, verbs, and so on. (So is the original Fortran, but then you have to be able to compile Fortran...)
I've always wanted to try writing one and this article might have just inspired me to finally do that.