Socket
Book a DemoInstallSign in
Socket

mazemap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mazemap

0.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

Mazemap Pathfinder

Mazemap allows you to search for a shortest path in the given 2D map(check tmp/maze.txt for examples)

Mazemap has built-in command line tool
So after the gem installation you can just type
bundle exec mazemap maze.txt
to execute a search

Usage

Gemfile
gem 'mazemap', github: 'leafmind/mazemap'

bundle install

In your code:
Mazemap.read_and_search(filename)

Also you can use mazemap command line tool:
bundle exec mazemap maze.txt

Maze file format example

******************************************
*               ******            ***    *
*   ***   ***   ******      * B   ***    *
*   ***   ***   ******     ***           *
*   ***                   *****   ***    *
*   *********             *****   ***    *
*   *******      ****      ***    ***    *
*               ******                   *
*     ***        ****       **********   *
*     ***                  ***********   *
*     *******             ************   *
*     *******    ****                    *
*      A         ****               ******
******************************************

Known issues on MAC OS X
https://github.com/SciRuby/nmatrix/issues/426

Workaround
https://github.com/SciRuby/nmatrix/issues/426#issuecomment-218122512

FAQs

Package last updated on 17 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.