Run serveral agents to test robot.checkScore()

Discussion regarding the server/client interface (not provided yet)

Run serveral agents to test robot.checkScore()

Postby betabirds » Fri May 01, 2020 12:50 am

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
betabirds
 
Posts: 3
Joined: Thu Apr 23, 2020 7:58 pm

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

Postby stepmat-admin » Tue May 05, 2020 6:22 pm

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.
stepmat-admin
 
Posts: 7
Joined: Wed Jul 12, 2017 1:49 pm


Return to Server/client interface

Who is online

Users browsing this forum: No registered users and 0 guests

cron