News for hackers. Stuff that matters.
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?
Re:1977: Zork by ineptech on Thursday February 18, 2021 @01:02PM (#26183232)
"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...
Re:1977: Zork by tomku on Thursday February 18, 2021 @12:44PM (#26182987)
Re:1977: Zork by immigrantsheep on Thursday February 18, 2021 @01:28PM (#26183568)
Re:1977: Zork by pimlottc on Friday February 19, 2021 @12:10PM (#26195246)
This is the engine behind the fantastic game 80 Days, for those who don’t know. Highly recommended.
Re:1977: Zork by the_af on Thursday February 18, 2021 @01:13PM (#26183355)
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.
Re:1977: Zork by samizdis on Thursday February 18, 2021 @03:41PM (#26185213)
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.
Re:1977: Zork by JoeDaDude on Thursday February 18, 2021 @04:10PM (#26185591)
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/...

Re:1977: Zork by senkora on Thursday February 18, 2021 @01:08PM (#26183303)
The people I know who have done this have used Inform: http://inform7.com
Re:1977: Zork by sprkwd on Thursday February 18, 2021 @07:05PM (#26187655)
You want inform 7.

http://inform7.com/

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.

[0] https://github.com/Syn-Nine/rust-mini-games

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).

Re:1977: Zork by brlewis on Thursday February 18, 2021 @10:12PM (#26189172)
If TypeScript and OO are your thing, I made some code for this: https://gitlab.com/brlewis/mud-eventemitter