My friend and I are creating a text based/mud game. The player can navigate from tile to tile in the world map. Sort of like the way Outwar does it. We need to figure out a way so that if a player tries to walk to the next room, but a wall is there(or any other blocking object). How can we make it so that the program knows that they can’t move there.