faheemmughal / amazer

a maze generator and solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazer

A maze generator and solver using recursive backtracker algorithm

Code Climate Test Coverage

Installation & Execution
  • Get all dependecies: bundle
  • Run tests: rspec
  • Run: ./bin/amaze_me [width height]
Project Layout
  • bin/* : Executables
  • lib/*.rb : Source files
  • spec/*_spec.rb : test files
Note

Note: It's a memory intensive solution. A big enough maze will overflow the stack. It can also be solved using an iterative approach and a manual stack of visited nodes, with enough time on hand.

Reading & Inspiration

About

a maze generator and solver

License:MIT License


Languages

Language:Ruby 100.0%