def _reward(self, i, rewards, reward=1):
    '\n        Compute the reward to be given upon success\n        '
    for (j, a) in enumerate(self.agents):
        if ((a.index == i) or (a.index == 0)):
            rewards[j] += reward
        if self.zero_sum:
            if ((a.index != i) or (a.index == 0)):
                rewards[j] -= reward
Compute the reward to be given upon success
def _reward(self, i, rewards, reward=1):
    '\n        \n        '
    for (j, a) in enumerate(self.agents):
        if ((a.index == i) or (a.index == 0)):
            rewards[j] += reward
        if self.zero_sum:
            if ((a.index != i) or (a.index == 0)):
                rewards[j] -= reward