Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.88 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.88 KB

Colossal Cave Adventure

Rusty port of Will Crowther and Don Woods' classic text adventure from 1977. Mainly based on on D. Knuth's cweb version. Knuth's Advent is hand translated from Fortran and his cweb document is a delightful read with many little gems. Other versions I have looked at are Eric Raymond's Open Adventure - a much more "verbose" implementation - and some of the "original" Fortran sources collected by Carlos Aguilar. Aguilar's repo has a couple of walkthrough's which are useful, because some of the puzzles are not exactely natural.

See walkthrough for example of how to make it to the end. Includes all the things you need to touch for scoring, but not all you can discover.

The game has 130 physical locations that can be visited. See the travel() function (cheat) for how they are connected - note that some transitions are probabilistic or depend on objects you carry or other characters in the game. Use shortest_route() function to calculate a route between two locations...

% cargo run --release --bin main
Welcome to Adventure!! Would you like instructions?
** n
OK.

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.
*  

References: