How to find a path in an unknown gridworld (5x5) in prolog? I have an initial position coordinate i.e 0,0. Note that (0,0) is relative, so the (0,0) could actually be in the center of this unknown world.
I have to recursively explore each block in the world, and only when the Agent enters the block can it receives information like breeze, stench etc. Then it must be able to do an inference, deciding the possible actions it could take.