Question: Due Date: 1 2 . 0 6 . 2 0 2 4 CENG 2 1 2 Programming Assignment 2 In this programming assignment, you are
Due Date:
CENG
Programming Assignment
In this programming assignment, you are supposed to write a Prolog program for a path finding game.
Create a Prolog program that accepts a start point, an exit point, and a list of obstacle locations as input. The program should then output a possible path from the start to the exit while avoiding obstacles in a grid.
The program should take the input in this format: pathstartRowstartColumnexitRowexitColumnfirstObstacleRowfirstObstacleColumn secondObstacleRowsecondObstacleColumn Path
Example input:
path Path
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
