[ 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 robots who steal its reserves of iron and are stopped by a logician who says "I am lying" and so he must be telling a falsehood so he must be telling the truth and so he must be telling a falsehood so he must be telling the truth and so he must be telling a falsehood so he must be telling the truth and so he must be telling a falsehood so he must be telling the truth and so he must be telling a falsehood so he must be telling the truth and so he must be telling a falsehood (STACK OVERFLOW DURING TEMPORAL RECURSION) .

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