makeMazePrim: Prim's Maze Algorithm

Description Usage Arguments Value Examples

Description

Builds a maze via Prim's algorithm.

Usage

1
makeMazePrim(height = 10, width = 10, seed, start = NULL)

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

Value

a dataframe generated with Prim's algorithm

Examples

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

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