Monster creation in dungeons
#18
Hi,

At least my first program is somewhat interesting. It can output all possible combinations (most recorded was 10,270 on dlvl 3 - not counting dlvls 4-6 which take at least an hour of computing to determine) for a level and lists how many combination each monster appears in.

Starting from this, I think the probabilities could be easily calculated without resorting to Monte Carlo methods.

Let us say that a given level has N distinct possible combinations. Each of those combinations has M(k) monsters, with k = 1 to M. Each combination can then be chosen in M(k)! ways. The total ways (not distinct) the level could be populated is then

T = Sum (k = 1 to M) of M(k)!

The total number of ways a particular monster can be on that level is

t(monster) = Sum (k = 1 to M) of {M(k)! if monster is included in the combination; 0 if not)}

Then, the probability of that monster appearing on that level is t(monster)/T

I haven't thought this out in detail, but on first blush, I think it should work and with less than fifteen thousand combinations per level it shouldn't take an unreasonable computation time.

--Pete

How big was the aquarium in Noah's ark?

Reply


Messages In This Thread
Monster creation in dungeons - by the Langolier - 06-22-2003, 10:30 PM
Monster creation in dungeons - by --Pete - 06-23-2003, 01:03 AM
Monster creation in dungeons - by Jane - 06-23-2003, 06:56 AM
Monster creation in dungeons - by the Langolier - 06-23-2003, 07:13 AM
Monster creation in dungeons - by Yogi_Baar - 06-23-2003, 08:05 AM
Monster creation in dungeons - by Yogi_Baar - 06-23-2003, 08:53 AM
Monster creation in dungeons - by dfn - 06-23-2003, 09:09 AM
Monster creation in dungeons - by hell-bringer - 06-23-2003, 05:32 PM
Monster creation in dungeons - by Yogi_Baar - 06-23-2003, 05:59 PM
Monster creation in dungeons - by dfn - 06-24-2003, 06:34 AM
Monster creation in dungeons - by Jarulf - 07-10-2003, 08:01 PM
Monster creation in dungeons - by Zenda - 07-11-2003, 04:42 PM
Monster creation in dungeons - by Jarulf - 07-17-2003, 12:44 PM
Monster creation in dungeons - by the Langolier - 07-22-2003, 09:22 PM
Monster creation in dungeons - by Jarulf - 07-23-2003, 09:38 AM
Monster creation in dungeons - by the Langolier - 07-24-2003, 08:20 AM
Monster creation in dungeons - by Jarulf - 07-24-2003, 11:14 AM
Monster creation in dungeons - by --Pete - 07-24-2003, 04:02 PM
Monster creation in dungeons - by the Langolier - 07-28-2003, 07:29 PM
Monster creation in dungeons - by the Langolier - 07-28-2003, 07:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)