Skip to content

Latest commit

 

History

History
executable file
·
30 lines (18 loc) · 644 Bytes

README.md

File metadata and controls

executable file
·
30 lines (18 loc) · 644 Bytes

pathfinding

JavaScript Pathfinding Experiment
Demo : https://buzzcloud.com.au/pathfinding/

Instructions

  1. Click or Drag to place walls.
  2. Select a finding method
  3. Start!

Method 1 : Fewest Steps

  • Finds the target using the most efficient calculations
  • Will go through diagonal gaps in walls

Method 2: Prefer Straight

  • Finds the target, but will prefer to go straight instead of diagonal when its the same number of steps
  • Will go through diagonal gaps in walls

Method 3 : No Diagonal

  • Finds the target using straight lines only

Method 3 : Direct

  • Will go directly to the target
  • Ignores walls