Page 1 of 1

Run serveral agents to test robot.checkScore()

PostPosted: Fri May 01, 2020 12:50 am
by betabirds
Hi, I want to use the current high scores in a competition to decide the best strategy and therefore I tested to run two agents at the same time, but since there is only one AB Chromium window that does note work. Is there a way to run several agents against each other?
If not, how does the message id 13 work? Does it include or just the high scores form the competitors? I do only get 0 scores back and I think therefor I do not understand how checkScore works

Re: Run serveral agents to test robot.checkScore()

PostPosted: Tue May 05, 2020 6:22 pm
by stepmat-admin
Hi,
Yes it is possible to run several agents against each other.

To run two (or more) agents against each other:
- Start the ABServer program and load up two (or more, up to the maximum of four) separate Chromium windows with Angry Birds loaded. Each of these Chromium windows should connect to the ABServer program.
- Connect your Agents to the ABServer program, and then start it.
- Each of your Agents will be assigned one of the Chromium windows to play on, and you should see each Angry Birds instance being played independently.