def main(team='base'): if team == 'helios': team = 'HELIOS' elif team == 'robocin': team = 'RoboCIn' agent = DQNAgent(DDQN, False, team=team, port=9500) # agent = DDPGAgent(DDPG, False) try: agent.run() except: exit(1)
def connect(self, host, port, teamname, version=11): Agent.connect(self, host, port, teamname, version=11) return
def __init__(self): Agent.__init__(self)
def general(self): Agent.think(self) return