pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Random Dungeon Generator

Random Dungeon Generator

Christopher Breinholt (breinygames)

Tags:

Description

Generates a random rogue-like dungeon that could be used as a dungeon generator for 2D games. Places up/down staircases, and adds 'chests' in random areas. It places the chests by using the A* path finding algorithm to find the path between the 2 staircases, then places the random chests in areas furthest away from that path. More information on the algorithm used for Dungeon Generation can be found here: http://breinygames.blogspot.com/2011/07/random-map-generation.html

Links

Home Page: http://code.google.com/p/pygame-dungeon-gen/

Screenshot


click to view original size

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

September 23, 2011 3:54am - Xandar Kablandar - nickname: (eternalcheesecake)
Neat!
September 13, 2011 12:59am - Donpachi - nickname: (donpachi) - 4/5
It works pretty nicely. I just had to grab a few libraries from here and see if I can't make a basic roguelike in 30 minutes (I could). The only problem with this generator I see is that it requires the minimum room size to be (3, 3) - or parts of the dungeon get broken into disconnected bits.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

Aug 2, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)