Colossal Cave Adventure (1976)

github.com

40 points by shakna 11 hours ago


o11c - 8 hours ago

Note that there are numerous versions and forks of Colossal Cave Adventure, several of which are called "the original". For the most complete known family tree (actually a DAG in a few places), with links, see:

https://mipmip.org/advfamily/advfamily.html

Some important versions: WOOD0350 (added most of the feature we know about; allegedly there was an early 250-point version in the wild but it's poorly documented), GILL0350 (C port, made it into bsdgames among others), WOOD0430 (the final version by him, what open-adventure is based on). But several other lineages are also well known (you can see .

The link submitted is a bit of a mess. src/ contains multiple versions of CROW0000 (which had been thought lost prior to 2005). But the various images are for other versions, and I haven't checked the binaries.

If you're interested in hacking your own version of adventure, the best by technical measures (reproducibility, sane file format, etc.) is:

https://gitlab.com/esr/open-adventure

(But the major change of file format does mean it becomes difficult to apply changes from other members of the Adventure family. This is also a problem for some others though!)

WillAdams - 29 minutes ago

For folks interested in the code see:

http://literateprogramming.com/adventure.pdf

(the source re-written as a Literate Program by Dr. Donald Knuth)

Wish I still had the teletype prints of when I played it on an HP 3000 minicomputer at a local college --- did finally finish the game using a port to Windows.

My wife quite enjoyed _Broad Band: The Untold Story of the Women Who Made the Internet_ which is one of the references from Wikipedia and covers the backstory in great detail.

musicale - 9 hours ago

https://en.wikipedia.org/wiki/Colossal_Cave_Adventure

And the 2023 graphical remake (from Ken and Roberta Williams [King's Quest, etc.] no less):

https://colossalcave3d.com

wduquette - an hour ago

I had a copy of the Fortran IV source for the PDP-11 back in the late 70’s. My friend and I tried to extend the game a bit, but soon ran into trouble. Dunno whether this is the same code or not.

philiplu - 8 hours ago

Compuserve had a port of this available for playing, back around 1980. I spent so much money I couldn't really afford as a broke college student, logged in for hours.

baudaux - 2 hours ago

You can play Colossal Cave adventure in the browser within https://exaequos.com

tudorw - 4 hours ago

Asked chatGPT to read the repo linked then 'Can you use the text content and simulate the text adventure here', currently I'm in a building somewhere up a stream, got some keys and have no idea if it's just hallucinations but it's fun.

russellbeattie - 8 hours ago

Browsing the code, I've never seen this form of goto:

   GOTO(1100,1004,1013,1020,1004,1004)(IKIND+1)
I just looked it up. It's a multi-way branch: GOTO(label_1, label_2, label_3, etc.), integer_expression.

If the integer value is 1 (not zero), control flow transfers to label_1, if the value is 2, it transfers to the second label, etc.

Interesting! It's like a simplified switch statement.

anthk - 6 hours ago

I have the Spanish translation for the ZMachine version with everything (even the backstory of the Mamooth Cave) it stills holds up really well modulo the twisty maze.

It's a very faithful translation, with the jokes being perfectly adapted. If you are a native Spanish speaker, get it from a IF archive mirror under games/zcode/spanish.

Overall, Advent and the ZMachine have been ported to far more platforms than Doom. And, contrary what to Romero/Carmack fanboys say with the predictor, The ZMachine actually ran under a pen like device, with handwritting detection et all.

If we count up the versions for Advent in any language (even Forth and that Lambda Calculus interpreter from IOCC) and the ZMachine itself, Adventure wins second as the most ported game ever except for Tetris or Pong, because Tetris it's so simple that it can be run under a 4bit CPU and a 10x20 display.

But, potentially, giving a working ASCII display with 16x64, or with enough pixels, Sokoban could be the most ported game ever if people made ports for it. Why? You can reimplement a Sokoban game analogically with just a graph paper, pen and some cardboard to create the player and the boxes as squares. Then you could just draw down the levels with a marker.