UniformHolesRandomMaze

This module provides a maze that is created by removing random cells from a full maze uniformly. It makes sure the maze remains connected.

class UniformHolesRandomMaze.UniformHolesRandomMaze(*args, **kwargs)[source]

(This class inherits from RandomMaze ).

With this maze, holes are uniformly distributed in the maze. The maze is created by removing random cells from a full maze, and making sure the maze remains connected.

__init__(*args, **kwargs)[source]

Initializes a new instance of the class.

Parameters:
  • args (object) – Arguments to pass to the parent constructor.

  • kwargs (object) – Keyword arguments to pass to the parent constructor.