def stepB(self, action, count):
    if (count == 0):
        self.NetworkB = self.net.network(self.lastxcoordinate, ysource=600, Ynew=100)
        self.out = self.net.DefaultToPosition(self.lastxcoordinate)
        self.bally = self.NetworkB[1][count]
        self.playerax = self.randomVal(action)
    elif (count == 49):
        self.ballx = self.NetworkA[0][count]
        self.bally = self.NetworkA[1][count]
        self.playerbx = self.randomVal(action)
    else:
        self.ballx = self.NetworkB[0][count]
        self.bally = self.NetworkB[1][count]
    obs = self.evaluate_state_from_last_coordinate(int(self.ballx))
    reward = self.evaluate_action(action, obs)
    done = True
    info = ''
    return (obs, reward, done, info)
def stepB(self, action, count):
    if (count == 0):
        self.NetworkB = self.net.network(self.lastxcoordinate, ysource=600, Ynew=100)
        self.out = self.net.DefaultToPosition(self.lastxcoordinate)
        self.bally = self.NetworkB[1][count]
        self.playerax = self.randomVal(action)
    elif (count == 49):
        self.ballx = self.NetworkA[0][count]
        self.bally = self.NetworkA[1][count]
        self.playerbx = self.randomVal(action)
    else:
        self.ballx = self.NetworkB[0][count]
        self.bally = self.NetworkB[1][count]
    obs = self.evaluate_state_from_last_coordinate(int(self.ballx))
    reward = self.evaluate_action(action, obs)
    done = True
    info = 
    return (obs, reward, done, info)