In this assignment, you will implement the basic functions of a simple BDI Agent that operates in a Gridworld, and by doing so, learn about the ideas underlying BDI agents.
The Gridworld consists of a two-dimensional grid of locations, extending to infinity in both directions. Some locations contain “junk” which the agent must “clean up” in order to score points. An agent cleans up a piece of junk by moving to its location and executing a pickup action. Agents can move one square at a time either horizontally or vertically. The world is dynamic in that junk may spontaneously appear at randomly determined locations at any time, though there is never more than one item of junk in the same location.