Project made using haskell (Functional programing language ) this project was made as an apply way for concepts of programing language we learned how to deal with functional language , when we use it and its importance. ##To run the project :
In this project we implemented the AI module for a minesweeper robot in Haskell. The environment in which the robot operates is an 4 × 4 grid of cells. Initially, a cell on the grid is either empty, contains the robot, or contains a mine. The robot can move in all four directions and is able to collect a mine only if it is in the same cell as the mine. Your program will take as input the initial position of the robot and the positions of all of the mines. The objective of the AI module is to compute a sequence of actions that the robot can follow in order to go to all the mines and collect them. Below is an example grid.