Module soukoban::path_finding
source · Expand description
Utilities for path finding.
Functions§
- Calculates the waypoints for the box to move from their current position to reachable positions.
- Creates a path for a box to move from its current position to a target position.
- Finds a path from one position to another on the map.
- Returns the top-left position.
- Calculates the path for the player to move from their current position to a target position.
- Returns a set of positions of the boxes that can be pushed by the player.
- Calculates the reachable area starting from a given position.