Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "S.C.Sprong" <s.c.sprong@student.utwente.nl>
Subject: Re: Request for source code for adventure game Haunt on the DEC-10/20
Date: 12 Aug 2003 17:47:16 GMT	[thread overview]
Message-ID: <bhb974$105jqb$1@ID-21098.news.uni-berlin.de> (raw)
In-Reply-To: bhat5i$ie0$1@bob.news.rcn.net

In comp.sys.dec jmfbahciv@aol.com wrote:
>"Jeroen Lodewijks" <jeroen.lodewijks@adc.com> 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? <mumble> <mumble> -- (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


  reply	other threads:[~2003-08-12 17:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10 22:44 Request for source code for adventure game Haunt on the DEC-10/20 Jeroen Lodewijks
2003-08-11  2:12 ` David Evans
2003-08-11  3:52   ` Stephen Jones
2003-08-11  4:26     ` David Evans
2003-08-11 15:42       ` Mark Hittinger
2003-08-11 15:51         ` David Evans
2003-08-12 11:44         ` Jeroen Lodewijks
2003-08-12 23:06           ` Mark Hittinger
2003-08-13 10:10             ` jmfbahciv
2003-08-12 11:50         ` Jeroen Lodewijks
2003-08-12 13:17           ` jmfbahciv
2003-08-12 17:47             ` S.C.Sprong [this message]
2003-08-11  5:39   ` Charles Richmond
2003-08-11  7:07   ` S.C.Sprong
2003-08-11  9:24     ` jmfbahciv
2003-08-13  4:23     ` healyzh
2003-08-11  8:53   ` Jeroen Lodewijks
2003-08-11 21:05     ` Charles Richmond
2003-08-11 21:48       ` Robert A.M. van Lopik
2003-08-14 11:35   ` Jeroen Lodewijks
2003-08-14 14:41     ` John R. Strohm
2003-08-14 22:48       ` Jeroen Lodewijks
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox