Welcome, Guest. Please Login or Register.
Nov 22nd, 2024, 4:37am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « New Bot developer »


   Arimaa Forum
   Arimaa
   Say Hello
(Moderator: supersamu)
   New Bot developer
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: New Bot developer  (Read 3248 times)
TheVinenator
Forum Full Member
***



Arimaa player #6821

   


Gender: male
Posts: 15
New Bot developer
« on: Sep 23rd, 2011, 11:55am »
Quote Quote Modify 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: male
Posts: 605
Re: New Bot developer
« Reply #1 on: Sep 23rd, 2011, 3:36pm »
Quote Quote Modify 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: male
Posts: 15
Re: New Bot developer
« Reply #2 on: Sep 26th, 2011, 8:32am »
Quote Quote Modify 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: male
Posts: 605
Re: New Bot developer
« Reply #3 on: Sep 26th, 2011, 8:35am »
Quote Quote Modify 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: male
Posts: 15
Re: New Bot developer
« Reply #4 on: Sep 26th, 2011, 9:55am »
Quote Quote Modify 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
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: New Bot developer
« Reply #5 on: Sep 26th, 2011, 12:04pm »
Quote Quote Modify Modify

on Sep 26th, 2011, 9:55am, TheVinenator wrote:
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

 
This was the hardware for this year's computer championship / challenge match:
 
http://www.arimaa.com/arimaa/challenge/2011/hardware.html
 
Yes, your program can use all the cores / processors.
 
You can find more information about the events here:
 
http://arimaa.com/arimaa/wcc/2011/
http://arimaa.com/arimaa/challenge/2011/
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: New Bot developer
« Reply #6 on: Sep 26th, 2011, 1:45pm »
Quote Quote Modify 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.  Smiley
« Last Edit: Sep 26th, 2011, 1:48pm by Fritzlein » IP Logged

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.