@sbj42/maze-generator-dev

0.1.8 • Public • Published

maze-generator-dev

Development support library for maze-generator plugins

This library supplies useful functions for developing plugins for the @sbj42/maze-generator library.

testAlgorithm

testAlgorithm(algorithmName, algorithmFunc, options)

Call this to run a standard set of tests on the algorithm.

benchmarkAlgorithm

benchmarkAlgorithm(algorithmName, algorithmFunc, options)

Call this to run a standard set of performance benchmarks on the algorithm.

cliDemoAlgorithm

cliDemoAlgorithm(algorithmName, algorithmFunc, width, height, options)

Call this from a command-line program, to print a sample maze for the algorithm.

webDemoAlgorithm

webDemoAlgorithm(algorithmName, algorithmModulePath, outPath)

Call this to generate a static web page that demonstrates the algorithm.

measureAlgorithm

measureAlgorithm(algorithmName, algorithmModulePath)

Call this to measure the characteristics of mazes generated by the algorithm.

Readme

Keywords

Package Sidebar

Install

npm i @sbj42/maze-generator-dev

Weekly Downloads

1

Version

0.1.8

License

MIT

Unpacked Size

27.7 kB

Total Files

13

Last publish

Collaborators

  • sbj42