makeMazeEller: Eller Maze Algorithm

Description Usage Arguments Value Examples

Description

Builds a maze via the Eller algorithm.

Usage

1
2
makeMazeEller(height = 10, width = 10, seed, start = NULL, p = 0.5,
  q = 1/3)

Arguments

height

how high should the maze be

width

how wide should the maze be

seed

a particular seed for reproducible results

start

starting point of the algorithm, can be ommited for a random starting point

p

Probability of linking two cells in a row togehter

q

Probability of linking two cells in different rows together

Value

a dataframe generated with the Eller algorithm

Examples

1

Ziegelsteintom/rmazing documentation built on May 10, 2019, 1:58 a.m.