Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/y/python-roguelike-HEAD/Level.py   python-roguelike(Download)
	def __init__(self, numberOfRooms):
		self.dungeon = NewDungeonGenerator.Dungeon(numberOfRooms) 
		self.width = self.dungeon.mapWidth
		self.height = self.dungeon.mapHeight
		self.cells = [[Cell.Cell(self, (x, y)) for x in range(self.width)] for y in range(self.height)]