{"id":356,"date":"2007-08-16T13:42:09","date_gmt":"2007-08-16T12:42:09","guid":{"rendered":"http:\/\/www.jesperjuul.net\/ludologist\/?p=356"},"modified":"2011-03-31T12:31:25","modified_gmt":"2011-03-31T10:31:25","slug":"adventure-the-cave-and-the-source-code","status":"publish","type":"post","link":"https:\/\/www.jesperjuul.net\/ludologist\/2007\/08\/16\/adventure-the-cave-and-the-source-code\/","title":{"rendered":"Adventure: The Cave and the Source Code"},"content":{"rendered":"<p>Exciting news for video game history buffs: Not only has the original Fortran source code for the original Colossal Cave Adventure game been found (<a href=\"http:\/\/jerz.setonhill.edu\/if\/crowther\/\">here<\/a>) &#8230; Dennis G. Jerz has gone all the way and traveled to the original cave, <em>and<\/em> analyzed the program. It&#8217;s in this paper: <a href=\"http:\/\/brain.lis.uiuc.edu:2323\/opencms\/export\/sites\/default\/dhq\/vol\/001\/2\/000009.html\">Somewhere Nearby is Colossal Cave: Examining Will Crowther&#8217;s Original &#8220;Adventure&#8221; in Code and in Kentucky<\/a>.<\/p>\n<p>So here we are, the cave:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/brain.lis.uiuc.edu:2323\/opencms\/export\/sites\/default\/dhq\/vol\/001\/2\/xml\/000009\/resources\/images\/jerz2007_017.jpg\" alt=\"East-west\" \/><br \/>\nYOU ARE IN AN AWKWARD SLOPING EAST\/WEST CANYON<\/p>\n<p>*<\/p>\n<p>And the source code:<\/p>\n<blockquote><p>C ADVENTURES<br \/>\nIMPLICIT INTEGER(A-Z)<br \/>\nREAL RAN<br \/>\nCOMMON RTEXT,LLINE<br \/>\nDIMENSION IOBJ(300),ICHAIN(100),IPLACE(100)<br \/>\n1 ,IFIXED(100),COND(300),PROP(100),ABB(300),LLINE(1000,22)<br \/>\n2 ,LTEXT(300),STEXT(300),KEY(300),DEFAULT(300),TRAVEL(1000)<br \/>\n3 ,TK(25),KTAB(1000),ATAB(1000),BTEXT(200),DSEEN(10)<br \/>\n4 ,DLOC(10),ODLOC(10),DTRAV(20),RTEXT(100),JSPKT(100)<br \/>\n5 ,IPLT(100),IFIXT(100)<\/p>\n<p>C READ THE PARAMETERS<\/p>\n<p>IF(SETUP.NE.0) GOTO 1<br \/>\nSETUP=1<br \/>\nKEYS=1<br \/>\nLAMP=2<br \/>\nGRATE=3<br \/>\nROD=5<br \/>\nBIRD=7<br \/>\nNUGGET=10<br \/>\nSNAKE=11<br \/>\nFOOD=19<br \/>\nWATER=20<br \/>\nAXE=21<br \/>\nDATA(JSPKT(I),I=1,16)\/24,29,0,31,0,31,38,38,42,42,43,46,77,71<br \/>\n1 ,73,75\/<br \/>\nDATA(IPLT(I),I=1,20)\/3,3,8,10,11,14,13,9,15,18,19,17,27,28,29<br \/>\n1 ,30,0,0,3,3\/<br \/>\nDATA(IFIXT(I),I=1,20)\/0,0,1,0,0,1,0,1,1,0,1,1,0,0,0,0,0,0,0,0\/<br \/>\nDATA(DTRAV(I),I=1,15)\/36,28,19,30,62,60,41,27,17,15,19,28,36<br \/>\n1 ,300,300\/<br \/>\nDO 1001 I=1,300<br \/>\nSTEXT(I)=0<br \/>\nIF(I.LE.200) BTEXT(I)=0<br \/>\nIF(I.LE.100)RTEXT(I)=0<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Exciting news for video game history buffs: Not only has the original Fortran source code for the original Colossal Cave Adventure game been found (here) &#8230; Dennis G. Jerz has gone all the way and traveled to the original cave, and analyzed the program. It&#8217;s in this paper: Somewhere Nearby is Colossal Cave: Examining Will &hellip; <a href=\"https:\/\/www.jesperjuul.net\/ludologist\/2007\/08\/16\/adventure-the-cave-and-the-source-code\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Adventure: The Cave and the Source Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-games"],"_links":{"self":[{"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jesperjuul.net\/ludologist\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}