[ Jocelyn Ireson-Paine's Home Page | SF plot-generator source | SF plot-generator PHP script ]

SF plot generator

Reloading this page will randomly generate the plot of a simple science-fiction story. (There is an Excel/Excelsior version of this generator at www.j-paine.org/excelsior/repository/spin/index.html; and you can also try the Traveller game at www.j-paine.org/cgi-bin/traveller.php.)

Mars is taken over by a time-travelling loony who returns to his youth and changes sex, meets himself, and has children who become yet more of this loony who changes sex, meets himself, and has children who become yet more of this loony who kills himself (I said he was a loony) .

The program is one I've used in teaching Prolog. Its content is based on "The Science Fiction Horror Movie Pocket Computer" by Gahan Wilson, from "The Year's Best Science Fiction No. 5", edited by Harry Harrison and Brian Aldiss, Sphere, London, 1972. The source is here; it's running under SWI-Prolog and PHP. If you want to know how to call SWI-Prolog from PHP, you can see my script here.

31st October 2008