|
Posted by Daniele on 02/15/07 13:11
skulkrinbait@googlemail.com wrote:
> I'm wanting to write a browser based wargame and am going to use PHP
> to it. The game requires a big map and I want to generate this
> randomly as it will be a lot of work to do it manually.
>
> My first prototype for doing this doesn't give good results, the map
> being far too random, can someone help me out or point me to a good
> resource please?
>
> The map will need to have sea in it and ideally rivers as well as the
> usual terrain, cities, forest, hills, plains etc.
>
> Thanks!
>
i think you should write your how algorithm
like every 10 miles print a lake and close to it a city
put on paper the logic you have to follow and then try to resolve the
problem on it before go on php
Navigation:
[Reply to this message]
|