Distributed Competition in Networks