Originally posted by: QueBert
I use to love text adventure games, and I made a couple with AGT, it's an old DOS program but it did work in Windows 98. I fired it up and got an error, I'm assuming it's not y2k ready, the program was discontinued like 13 years ago. Googling turns up a bunch, but I'm wondering what's good. I don't have programming knowledge, I can learn to comprehend a scripting language if it's not too involved. I don't need graphics or music, just want to create a good ole text adventure game.
Any language would work. Basic even.
The jist:
Put your "map" in an array. Each row will represent a room number. Each of the six columns will represent a direction (north, s, e, w, up, down). If the value stored is a 0 you can't go there. Any other value represents the room number that you'll end up in if you go there.
Make a second one dimensional array to hold the strings giving the room descriptions.
Make another one that holds objects, monsters etc.
For input just make a parser that grabs "verbs" like go, walk, pick up, drop, attack, grabs the following noun and sends the noun off to the appropriate verb function/subroutine.
You might want to hunt around for some "construction sets" though. I was pretty fond of ZZT. Also, games like Angband are open source and have incredibly well documented code that you can mod.