Locality-based network creation game