We often think of fungi or other microbes as not particularly intelligent. This study goes to show that across these networks, one of the reasons they can be so successful is that they can make what seem to be fairly sophisticated decisions about where to allocate resources to optimize the return they get.