command
module
Version:
v0.0.0-...-09260a9
Opens a new window with list of versions in this module.
Published: Dec 15, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Maze written in Go 
Usage
$ go get -u github.com/matsuyoshi30/gomaze
$ gomaze
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
S || || || || || ||
|| |||||| || || || |||||||||| |||||| || || |||||| ||
|| || || || || || || || || || || ||
|||||| || || |||||| |||||| || || |||||||||| || || ||
|| || || || || || || || ||
|| || || |||||||||||||| |||||| |||||| || |||||| || ||
|| || || || || || || || ||
|| |||||| |||||| |||||| |||||| || || || || |||||| ||
|| || || || || || || || || || ||
|| || |||||| || || || || |||||||||| |||||||||||||| ||
|| || || || || || || || || ||
|||||| |||||| |||||| || || |||||||||||||||||||||| || ||
|| || || || || || || || ||
|||||||||| || |||||||||| |||||| |||||| || || ||||||||||
|| || || || || || || ||
|||||| |||||||||| || || || || |||||||||| || || ||||||
|| || || || || || || || || || ||
|| |||||| || |||||| || || || || |||||| |||||| || ||
|| || || || || || || || || || ||
|| |||||||||| |||||| |||||||||||||| || || || || ||||||
|| || || || || || || || ||
|| |||||| |||||||||| |||||||||| || || || || |||||| ||
|| || || || || || ||
|| |||||||||| |||||| |||||| |||||||||||||||||| |||||| ||
|| || || || || || || || || ||
|||||| || || || || |||||| || |||||||||| ||||||||||||||
|| || || || || ||
|| || || |||||||||| |||||||||||||||||| || |||||| || ||
|| || || || || || || G
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can specify the size of maze with --height or --width.
$ gomaze --height 10 --width 10
||||||||||||||||||||||
S || || ||
|||||| || |||||| ||
|| || ||
|| |||||| || ||||||
|| || || ||
|| || || |||||| ||
|| || || ||
|||||| || |||||| ||
|| || || G
||||||||||||||||||||||
You can play the maze with --screen and use arrow keys.

You can see the maze solution with --bfs or --dfs.

Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.