I was wondering: does anybody know if there are any good resources for writing a good text adventure? Any nice tips and tricks? Mainly related to the content. I guess it overlaps with "writing a good novel", but I bet there're some specific advices that can be applied to the text adventure. I wanted to write my text adventure, but I'd offer reader to have multiple options, especially for those who are not really prac…
How to program a text adventure in C
11–20 of 56 posts
Re: How to program a text adventure in C
#12Re: How to program a text adventure in C
#13I was wondering: does anybody know if there are any good resources for writing a good text adventure? Any nice tips and tricks? Mainly related to the content. I guess it overlaps with "writing a good novel", but I bet there're some specific advices that can be applied to the text adventure. I wanted to write my text adventure, but I'd offer reader to have multiple options, especially for those who are not really prac…
For the technical side of things, use ink script. There's an editor, plugins and it's a mature project. For the creative side I would recommend trying out all kinds of things. Should your player be able to get stuck/into a dead end? Will players play once or many times. Can you "win" your game or is it more of a narrative? How do you want the player to feel! For some more specific ideas, think about how your game bra…
Re: How to program a text adventure in C
#14I was wondering: does anybody know if there are any good resources for writing a good text adventure? Any nice tips and tricks? Mainly related to the content. I guess it overlaps with "writing a good novel", but I bet there're some specific advices that can be applied to the text adventure. I wanted to write my text adventure, but I'd offer reader to have multiple options, especially for those who are not really prac…
Re: How to program a text adventure in C
#15[1] http://www.ulisp.com/show?383X
Re: How to program a text adventure in C
#16Re: How to program a text adventure in C
#17Re: How to program a text adventure in C
#18The best way to implement a text adventure in C would be to implement a simple lisp interpreter in C and then implementing the actual game in a lisp DSL. Lisp lends itself surprisingly well to this, and defining game logic declaratively instead of imperatively is much more intuitive. Here are a few examples: [1] http://www.ulisp.com/show?383X [2] https://github.com/mswift42/MetalHead [3] https://github.com/xlxs4/lisp…
Re: How to program a text adventure in C
#19The best way to implement a text adventure in C would be to implement a simple lisp interpreter in C and then implementing the actual game in a lisp DSL. Lisp lends itself surprisingly well to this, and defining game logic declaratively instead of imperatively is much more intuitive. Here are a few examples: [1] http://www.ulisp.com/show?383X [2] https://github.com/mswift42/MetalHead [3] https://github.com/xlxs4/lisp…
Re: How to program a text adventure in C
#20I honestly think that writing an adventure can be best done by first creating an adventure-writing DSL (in C, if you like). A few observations on the C code (I didn't read all of it): - please, no strtok - a little more concentration on the UI, for example not using strcmp to test inputs - make all preprocessor definitions be uppercase - those conditional operators confused the hell out of me - just use if/else