Talk:Dungeon builder written in Python

From RogueBasin
Revision as of 18:28, 4 October 2011 by Sunny0815 (talk | contribs) (→‎image of the result?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

image of the result?

Could someone post an example of a random dungeon created with this algorithm? Currently haven't got a working python enviroment (yet, lol) so i can't test the implementation myself, eh... Solarnus 08:45, 16 January 2008 (CET)

Nevermind, finally got the chance to test it and check the results by myself.. Solarnus 20:58, 23 January 2008 (CET)
So could you post an example output? :P -- Zetty, 5 May, 2009
Random page button brought mere here and I thought 'why not' so here they are. –Michal BielinskiTalk 14:16, 20 October 2010 (UTC)


If you change line 13 from

self.mapArr=ones((ysize,xsize))

to

self.mapArr=[[ 1 for y in range(ysize)] for x in range(xsize)]

you remove the need for numpy.