dungeon_generator Module

class dungeon_generator.Dungeon(config={})[source]

Bases: object

Generator two-dimensional map for roguelike.

Config:

  • row_size: Vertical size of the map.
  • col_size: Horizontal size of the map.
  • room_number: Number of rooms to pop in the map.
to_array()[source]

Call Frame.to_array()

See Frame.to_array detail.

to_string()[source]

Call Frame.to_string()

See Frame.to_string detail.

Previous topic

Waterway Module

This Page