General Question

Espin01's avatar

Where can I find a random map genaration algorithm?

Asked by Espin01 (32points) January 27th, 2008

Does anyone have code that will generate random map? Just something simple and 2d. Does not need to have various terrains or textures, just make the walls and doors.

Observing members: 0 Composing members: 0

3 Answers

phoenyx's avatar

Jamis Buck’s random dungeon generator might be interesting to you. It was intended for D&D, but it could be extended to other things as well.

Zaku's avatar

What kind of output do you want?

Espin01's avatar

Anything, preferable something like spaces for empty areas and # for walls.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther