One of the multiple goblins spawned will run out of the map if the player comes near, but the player cannot follow, as they cannot go through walls. Implement a way to stop the goblins from moving outside the boundaries when running away from the player.
One of the multiple goblins spawned will run out of the map if the player comes near, but the player cannot follow, as they cannot go through walls. Implement a way to stop the goblins from moving outside the boundaries when running away from the player.
200 pts?