Learn R Programming

mazing

This package provides utilities for generating and plotting random mazes. The mazes are based on matrices, so can only consist of vertical and horizontal lines along a regular grid. But there is no need to use every possible space, so they can take on many different shapes.

Installation

# stable, release version from CRAN:
install.packages("mazing")

# devel version from GitHub:
# install.packages("devtools")
devtools::install_github("kstreet13/mazing")

Issues and bug reports

Please use https://github.com/kstreet13/mazing/issues to submit issues, bug reports, and comments.

Copy Link

Version

Install

install.packages('mazing')

Monthly Downloads

211

Version

1.0.5

License

MIT + file LICENSE

Maintainer

Kelly Street

Last Published

October 5th, 2021

Functions in mazing (1.0.5)

plot.maze

Plot a maze object
expand_matrix

Double the dimensions of a matrix
widen_paths

Spread a value within a matrix
solve_maze

Find a path through a maze
maze2binary

Convert maze to binary matrix
condense_matrix

Halve the dimensions of a matrix
find_maze_refpoint

Get coordinates for a point in a maze
maze

Random Mazes