Re:1977: Zork
by throwaway123x2 on Thursday February 18, 2021 @12:42PM
(#26182957)
Does anyone know of tools to make very basic text games and publish them to the web... like Choose Your Own Adventure type stories?
[ Parent
| on HN ]
"Interactive Fiction" is probably the search term you need. Might start here: http://www.ifwiki.org/index.php/FAQ#How_can_I_write_my_own_g...
Twine: https://twinery.org
Re:1977: Zork
by immigrantsheep on Thursday February 18, 2021 @01:28PM
(#26183568)
Inky as well https://www.inklestudios.com/ink/
This is the engine behind the fantastic game 80 Days, for those who don’t know. Highly recommended.
This.
While TADS, Inform and others are sophisticated tools (more like programming languages, really) to build adventures like Zork or even more complex, for a simple Choose Your Own Adventure something like Twine is better.
Re:1977: Zork
by throwaway123x2 on Thursday February 18, 2021 @04:45PM
(#26186098)
This looks great, thank you!
Re:1977: Zork
by thaumasiotes on Thursday February 18, 2021 @01:09PM
(#26183309)
The tool to publish a Choose Your Own Adventure story to the web is just HTML. You have passages of text that link to other passages of text.
You can also use Google Forms, and embed those within Google Sites. I've been doing this to create media training exercises for interviewing techniques, and they've been popular with the journalism students.
FWIW: In one of my classes, the teacher taught us Prolog by making us write a text adventure using it. It turned out to be well suited to the task. Except for the "publish to the web part".
https://www.cis.upenn.edu/~matuszek/cis554-2015/Assignments/...
The people I know who have done this have used Inform: http://inform7.com
You want inform 7.
Re:1977: Zork
by DonHopkins on Thursday February 18, 2021 @12:58PM
(#26183181)
Re:1977: Zork
by TheHideout on Thursday February 18, 2021 @01:24PM
(#26183513)
If you're interested in trying to do it in Rust, I've made a series of simple text games that you could use as an example [0]. Rust will work for web and someone has added web support for these, but I haven't merged it in yet.
Re:1977: Zork
by screaminghawk on Thursday February 18, 2021 @01:42PM
(#26183769)
I've used this angular framework in the past with great success https://github.com/danielstern/cyo
Searching "cyoa" on github brings back a tons of results that you can filter through to meet your tech stack needs.
Re:1977: Zork
by moreoutput on Thursday February 18, 2021 @01:06PM
(#26183287)
Let me shamelessly plug a project I'll probably always be poking at: https://github.com/MoreOutput/RockMUD
I mainly played DIKU stuff so it feels a bit like that OOTB, but its very flexible (i hope).
If TypeScript and OO are your thing, I made some code for this: https://gitlab.com/brlewis/mud-eventemitter