From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,18584b209ae448 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,f15e9a1764b4fe50 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-08-12 10:47:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!salto.student.utwente.NL!not-for-mail From: "S.C.Sprong" Newsgroups: comp.sys.dec,alt.sys.pdp10 Subject: Re: Request for source code for adventure game Haunt on the DEC-10/20 Date: 12 Aug 2003 17:47:16 GMT Message-ID: References: <3f36cae1@shknews01> <3f38d490@shknews01> NNTP-Posting-Host: salto.student.utwente.nl (130.89.167.45) X-Trace: news.uni-berlin.de 1060710436 33738571 130.89.167.45 (16 [21098]) X-Orig-Path: not-for-mail Xref: archiver1.google.com comp.sys.dec:16737 alt.sys.pdp10:15542 In comp.sys.dec jmfbahciv@aol.com wrote: >"Jeroen Lodewijks" wrote: >>The Haunt command parser has an finite number of verbs and nouns it >>recognizes. [...] >>With some brute force and backtracking, it should be possible to build a >>complete picture of the whole adventure. >> >>What do you think, too much work?? Not for you, but it can take some time and it will generate a lot of output, even if you do on-the-fly pruning of irrelevant states, as you should. With V verbs, N nouns, and M moves to the winning endstate you have -- what is it? -- (N*V)*M! states. With a bit of care and pruning it is nowadays feasible to check 10^120 states. However, the resulting if-tree will not look like the original rule based system at all, and it will not give you a deep understanding of how the game works. >Start playing with it. I promise you that you'll learn a lot. That is for certain. Software archaeology and reverse engineering by automatic model checking can be great fun. scsprong