def __init__(self, fps=50):
    self.net = Network(150, 450, 100, 600)
    self.updateRewardA = 0
    self.updateRewardB = 0
    self.updateIter = 0
    self.lossA = 0
    self.lossB = 0
    self.net = Network(150, 450, 100, 600)
    self.NetworkA = self.net.network(300, ysource=100, Ynew=600)
    self.NetworkB = self.net.network(200, ysource=600, Ynew=100)
    self.out = self.net.DefaultToPosition(250)
    self.lastxcoordinate = 350
    pygame.init()
    self.BLACK = (0, 0, 0)
    self.myFontA = pygame.font.SysFont('Times New Roman', 25)
    self.myFontB = pygame.font.SysFont('Times New Roman', 25)
    self.myFontIter = pygame.font.SysFont('Times New Roman', 25)
    self.FPS = fps
    self.fpsClock = pygame.time.Clock()
def __init__(self, fps=50):
    self.net = Network(150, 450, 100, 600)
    self.updateRewardA = 0
    self.updateRewardB = 0
    self.updateIter = 0
    self.lossA = 0
    self.lossB = 0
    self.net = Network(150, 450, 100, 600)
    self.NetworkA = self.net.network(300, ysource=100, Ynew=600)
    self.NetworkB = self.net.network(200, ysource=600, Ynew=100)
    self.out = self.net.DefaultToPosition(250)
    self.lastxcoordinate = 350
    pygame.init()
    self.BLACK = (0, 0, 0)
    self.myFontA = pygame.font.SysFont('Times New Roman', 25)
    self.myFontB = pygame.font.SysFont('Times New Roman', 25)
    self.myFontIter = pygame.font.SysFont('Times New Roman', 25)
    self.FPS = fps
    self.fpsClock = pygame.time.Clock()