Implement part of wumpus_agent.