Cooperative-competitive game based approach to the local path planning problem of distributed multi-agent systems