[ 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 mutant diploid armour plated pterodactyls with ESP and silicon-based DNA and is visited by good mutant brewers yeast cells who copy the lot into a giant Sextium 3000 and edit out the nasty bits but they run out of CPU time .

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