makeMazeBinary: Binary Maze Algorithm

Description Usage Arguments Value Examples

Description

Builds a maze via binary algorithm.

Usage

1
makeMazeBinary(height = 10, width = 10, seed, start = 1, bias = 0.5)

Arguments

height

how heigh should the maze be

width

how wide should the maze be

seed

a particular seed for reproducible results

start

which is the starting point of the algorithm

bias

0.5 is unbiased, 1 and 0 are totally biased

Value

a dataframe generated with the sidewinder algorithm

Examples

1
maze <- makeMazeBinary(width = 10, height = 10)

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