back

Adventure

Colossal Cave Adventure, or Adventure, was one of the first text adventure games. The development started already in 1975. The original version was written by Will Crowther in FORTRAN for the PDP-10 time-sharing computer. Later versions of the game were often ports to other programming languages and computer platforms.

The Interactive Fiction Archive shares the source code of all known versions, including the original PDP-10 one. Some of these versions can be compiled on modern Unix operating systems, like the FORTRAN 77 source code of the 440 points version (adv440.tgz):

$ fetch https://www.ifarchive.org/if-archive/games/source/adv440.tgz
$ tar xfvz adv440.tgz
$ cd adv440/

The game compiles with GNU Fortran:

$ gfortran -std=legacy -o advII advII.f
$ ./advII

 INITIALIZING..

 IS THIS ADVENTURE A CONTINUATION?
N

 WELCOME TO ADVENTURE II!!  WOULD YOU LIKE INSTRUCTIONS?
Y

 SOMEWHERE NEARBY IS COLOSSAL CAVE, WHERE OTHERS HAVE FOUND FORTUNES IN
 TREASURE AND GOLD, THOUGH IT IS RUMORED THAT SOME WHO ENTER ARE NEVER
 SEEN AGAIN.  MAGIC IS SAID TO WORK IN THE CAVE.  I WILL BE YOUR EYES
 AND HANDS.  DIRECT ME WITH COMMANDS OF 1 OR 2 WORDS.  I SHOULD WARN
 YOU THAT I LOOK AT ONLY THE FIRST FIVE LETTERS OF EACH WORD, SO YOU'LL
 HAVE TO ENTER "NORTHEAST" AS "NE" TO DISTINGUISH IT FROM "NORTH".
 (SHOULD YOU GET STUCK, TYPE "HELP" FOR SOME GENERAL HINTS.  FOR INFOR-
 MATION ON HOW TO END YOUR ADVENTURE, ETC., TYPE "INFO".)
 - - -
 THIS ADVENTURE (ADVENTURE II) COMES TO YOU COURTESY OF JACK PIKE &
 PETER LUCKETT (R.A.E BEDFORD/FARNBOROUGH).
 THE PROGRAM WAS ORIGINALLY DEVELOPED BY WILLIE CROWTHER.  MOST OF THE
 FEATURES OF THE EARLIER PROGRAM WERE ADDED BY DON WOODS (DON @ SU-AI).
 QUERIES PLEASE TO JP OR PL.

 YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING.
 AROUND YOU IS A FOREST.  A SMALL STREAM FLOWS OUT OF THE BUILDING AND
 DOWN A GULLY.

Last Update: Sat, 03 Oct 2020 11:58:46 +0200