''

def _update_block(self):

    reward = 0
    if (self.block[0]['row'] > 0):
        self.block[0]['row'] -= self.block[0]['speed']
    else:
        self.block[0]['col'] = random.randrange(self.road_left, (self.road_right + 1))
        self.block[0]['row'] = self.screen_height
        reward += 1
    if (self.block[1]['row'] > 0):
        self.block[1]['row'] -= self.block[1]['speed']
    else:
        self.block[1]['col'] = random.randrange(self.road_left, (self.road_right + 1))
        self.block[1]['row'] = self.screen_height
        reward += 1
    return reward
