Skip to content

A bite-sized example of a recursive pathfinding algorithm.

Notifications You must be signed in to change notification settings

ruttuk/Neighbors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Neighbors

A bite-sized example of a recursive pathfinding algorithm.

NeighborsClip

Given a 2D-Grid, find the shortest path from a given point to any other cell. This Grid data structure is composed of a 2-dimensional array of Cells, which are either shaded (cannot be moved onto) or not. Each Cell has a reference to 4 other Cells which represent it’s cardinal neighbors. To find the shortest possible path from any given cell, the current cell’s neighbors are traversed recursively. Each traversal decrements a movement point.

About

A bite-sized example of a recursive pathfinding algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published