Welcome, Guest. Please Login or Register.
Mar 29th, 2024, 7:46am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Best practices for testing Bots »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Best practices for testing Bots
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Best practices for testing Bots  (Read 1166 times)
TheVinenator
Forum Full Member
***



Arimaa player #6821

   


Gender: male
Posts: 15
Best practices for testing Bots
« on: Oct 20th, 2011, 9:52am »
Quote Quote Modify Modify

hi,
 
I'm developing a bot and I want to test the interface. the bot doesn't generate move (correctly) yet, but i want to test other aspects of the program too.
 
is there a test realm where "mistakes" can be made that won't annoy everybody else?
 
what is the best practice here.
 
thanks
 
vince
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Best practices for testing Bots
« Reply #1 on: Oct 20th, 2011, 10:57am »
Quote Quote Modify Modify

As long as you're not playing dozens of games per hour for a long period I don't think anyone will be bothered if your bot plays some stupid games with illegal moves etc.
 
In early development my bot did have its fair share of timeouts due to crashes, illegal moves etc.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Best practices for testing Bots
« Reply #2 on: Oct 20th, 2011, 12:43pm »
Quote Quote Modify Modify

People who analyze the game database usually exclude unrated games, so if you play unrated, you won't be bugging anyone.  But also analysis often only uses games where both players are rated above a certain level, say 1800, so playing lame games against ArimaaScoreP1 probably won't bug anyone even if they are rated.
IP Logged

TheVinenator
Forum Full Member
***



Arimaa player #6821

   


Gender: male
Posts: 15
Re: Best practices for testing Bots
« Reply #3 on: Oct 25th, 2011, 2:25pm »
Quote Quote Modify Modify


is there a python script that emulates a AEI server and plays out games? even random moves would be good.
 
does someone have one?
 
i test now by entering commands into the program's console window, but automating that would be helpful.
 
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Best practices for testing Bots
« Reply #4 on: Oct 25th, 2011, 2:31pm »
Quote Quote Modify Modify

There is the roundrobin.py script included in the AEI distribution. And there's this:
 
http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=devTalk;action=display ;num=1266712867;start=12#12
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.