A parallel algorithm for computing cooperative responses through a Web API