JSPM

@sdummett/maze-gen-x

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q27785F
  • License ISC

A maze generator

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sdummett/maze-gen-x) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    maze generator

    TODO GENERATING

    • Binary Tree algo
    • Sidewinder algo

    RENDERING

    • Terminal
    • Terminal with unicode box drawing
    • png
    • jpg
    • Coloring maze

    FINDING SOLUTIONS

    • Dijkstra's algo
    • finding shortest path

    AVOIDING BIASES

    • Aldous-Broder algo
    • Wilson's algo

    CONSTRAINTS TO RANDOM WALKS

    • Hunt-and-kill algo
    • Counting dead ends
    • Recursive Backtracker algo

    Grid functions

    • toString: return the maze to ascii
    • toPng: return the maze to a png file

    This project is about creating an npm package that generate mazes for frontend, backend and terminal usage.

    NOTES Check the "Your turn" parts of the book for ideas

    Reference: Mazes for programmers - Jamis Buck