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

Planet 9 of Alpha-Centauri is used as the cue ball in a game of galactic bar-billiards and is visited by good aliens who also die .

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