You must implement a grid-based pathfinder that finds the shortest path from START to END on a 2D grid. The…
You must implement a grid-based pathfinder that finds the shortest path from START to END on a 2D grid. The…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Movement is allowed in the 4 cardinal directions (up, down, left, right). Diagonal moves are NOT allowed…
The task
Movement is allowed in the 4 cardinal directions (up, down, left, right). Diagonal moves are NOT allowed. The cost of a path is the sum of costs of all cells ENTERED along the path, excluding the START cell but including the END cell.
Part of ai-and/termgrade-environments.