Minority Games, Local Interactions, and Endogenous Networks