1974 starting a new gamebook

1974 a gamebook

Just started a gamebook called 1974, about a family living in a local post-apocalypse. The idea is that some fictional country, Redhesia, got into a civil war bad enough to lead to a local collapse in civilization. The outside world has done little but locked them in, patrolling every border so that the "dangerous" refugees cannot come into "civilization".

It takes the form of letters written to an unknown "outsider", the reader, who can advise the protagonists into doing this or that, the server taking care of the rest.

I have like 5 "letters" drafted, but the final thing would have, at least, 50, so it's in a very early form.

As for the script is nothing fancy, a short python program. The data is mostly a dict, with the text being read from separate files, one for each letter.

The main process is a) examine the query string b) if the query string is in the sections dictionary, then call show_section function to display it as gemtext. When the outcome of a player choice is iffy, the script "rolls the dice" as it's generating the gemtext, modifying the links as necessary. That way I don't need to "intercept" a click event as we'd do in javascript.

Wish me luck

Posted in: s/Interactive-Fiction

๐Ÿ•๏ธ Yretek

2023-11-16 ยท 2 years ago ยท ๐Ÿ‘ skyjake, drh3xx

3 Comments โ†“

๐ŸŒ† skyjake [...] ยท 2023-11-16 at 12:45:

It's nice to see new IF projects on Gemini!

(Please wrap the code in your post in a preformatted block, though.)

๐Ÿ drh3xx ยท 2023-11-16 at 12:47:

This sounds interesting. Can't wait for a link when it's completed.

๐Ÿš€ anthk_out ยท 2025-01-02 at 12:19:

Try inform6 with inform6 library, it's pretty easy to create a local game with far more interactivity. With dfrotz you might bound it to gemini I/O. There are ready made packages for Gopher.