Dynamic competition over social networks