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: 12.06.2024
CENG 212
Programming Assignment 2
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 55 grid.
The program should take the input in this format: path((startRow,startColumn),(exitRow,exitColumn),[(firstObstacleRow,firstObstacleColumn),( secondObstacleRow,secondObstacleColumn),...], Path).
Example input:
path , Path
 Due Date: 12.06.2024 CENG 212 Programming Assignment 2 In this programming

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!