Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 460 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 460 Bytes

Maze solver

Solves PNG maze file using my implementation Dijkstra's algorithm and PIL

Usage

maze.py [-h] [-i INPUT] [-o OUTPUT]

INPUT defaults to "maze.png" OUTPUT defaults to "solved.png"

Example

alt Example

Here, maze.png and solved.png are both 10px tall and 10px wide

Colors

  • White (#FFFFFF): Paths
  • Black (#000000): Walls
  • Red (#FF0000): Start
  • Green (#00FF00): End
  • Blue (#0000FF): Solution