From: "Tom Cook" Newsgroups: comp.os.msdos.djgpp Subject: Re: Random Map Generator (off topic) Date: Sun, 25 Jan 1998 19:53:58 +0930 Organization: Nexus Information Service Lines: 20 Message-ID: <6af473$cou@nexus.nexus.edu.au> References: NNTP-Posting-Host: nexus.nexus.edu.au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andrew Deren wrote in message ... >Does anyone know where to find some tutorials or sample code on how to >generate random maps with varying conditions (heights, whether etc). >Thanks in advance. Check out the Genesis03 thingy at David Jenkins home page http://www.jenkinsdavid.demon.co.uk ). This will generate a 3D map, it could be done multiple times to generate different properties of each point. It is fairly simple. For each point in a 2D rectangle, you add the heights of the eight surrounding points and divide by about 7, depending on how flat you want it. You can check it out at the link above, anyway. HTH! Tom Cook