Author |
Topic: New Bot developer (Read 3248 times) |
|
TheVinenator
Forum Full Member
Arimaa player #6821
Gender:
Posts: 15
|
|
New Bot developer
« on: Sep 23rd, 2011, 11:55am » |
Quote Modify
|
hi, i'm starting to work on a Arimaa bot and I could use a little help with the interface. i'll be using visual studio c++ to develop the bot and was wondering if anybody had any example code as to how to connect to the game server with this development environment. thanks, vince
|
|
IP Logged |
|
|
|
rbarreira
Forum Guru
Arimaa player #1621
Gender:
Posts: 605
|
|
Re: New Bot developer
« Reply #1 on: Sep 23rd, 2011, 3:36pm » |
Quote Modify
|
Welcome! You don't have to write the connection code yourself, there is a script which uses the AEI protocol to run and communicate with your bot, and does the connection and all the talking with the Arimaa server: http://arimaa.janzert.com/aei/ I should point out, if you are planning to have your bot participate in the official Arimaa championships, you should make sure that it's not too hard to port your bot to Linux, as you need to submit a Linux binary to participate.
|
« Last Edit: Sep 23rd, 2011, 3:37pm by rbarreira » |
IP Logged |
|
|
|
TheVinenator
Forum Full Member
Arimaa player #6821
Gender:
Posts: 15
|
|
Re: New Bot developer
« Reply #2 on: Sep 26th, 2011, 8:32am » |
Quote Modify
|
why must the bot be submitted? to avoid possible "human" intervention? what about the bot vs human challenge? are there limitations for that as well?
|
|
IP Logged |
|
|
|
rbarreira
Forum Guru
Arimaa player #1621
Gender:
Posts: 605
|
|
Re: New Bot developer
« Reply #3 on: Sep 26th, 2011, 8:35am » |
Quote Modify
|
on Sep 26th, 2011, 8:32am, TheVinenator wrote:why must the bot be submitted? to avoid possible "human" intervention? what about the bot vs human challenge? are there limitations for that as well? |
| Not only to avoid cheating, also to make sure all the bots are running on equal hardware in order to make it a fair contest. Yes, the bot vs human challenge uses the same bot executable and the same hardware as the computer championship.
|
« Last Edit: Sep 26th, 2011, 8:36am by rbarreira » |
IP Logged |
|
|
|
TheVinenator
Forum Full Member
Arimaa player #6821
Gender:
Posts: 15
|
|
Re: New Bot developer
« Reply #4 on: Sep 26th, 2011, 9:55am » |
Quote Modify
|
well, for the sake of the bots, i hope whomever is hosting the platform finds a good one! are the bots allowed to take advantage of multiple processors if they exist? perhaps to make things easier here, can you point me to a document that lays out all the rules/regulations regarding this topic? thanks
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: New Bot developer
« Reply #6 on: Sep 26th, 2011, 1:45pm » |
Quote Modify
|
on Sep 26th, 2011, 8:32am, TheVinenator wrote:why must the bot be submitted? to avoid possible "human" intervention? |
| Yes, but your bot is allowed to modify itself in an automated way between games, so you can still create a moving target for your opponents (both human and silicon) to deal with even if you can't intervene during the match. Another reason the bot must be submitted is that after the matches are over, it becomes available for the community to play, running on the arimaa.com server. So if you enter a bot into the Computer Championship you are doing the Arimaa community a big favor, for which we will be eternally grateful.
|
« Last Edit: Sep 26th, 2011, 1:48pm by Fritzlein » |
IP Logged |
|
|
|
|