maze

command module
v0.0.0-...-89ad80c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

README

maze

Maze Generation using GoLang

Getting started

Dependencies

You need dep for dependency management.

dep ensure
Building
go build -o mazegen.exe
Interacting

You can control the seed, and dimensions of mazes you generate.

The generated maze will be in the same folder under the name maze.png.

Use -h to get help on using the generator.

mazegen.exe -h

Example output:

Usage of ...\maze\mazegen.exe:
  -debug
        debug mode; high verbosity
  -height int
        maze height, in cells (default 5)
  -seed int
        pseudo RNG seed (default 1553884783481282100)
  -width int
        maze width, in cells (default 5)
Examples

Create a 5 by 5 maze:

mazegen.exe -height 5 -width -5

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL