Welcome, Guest. Please Login or Register.
Dec 26th, 2024, 6:51pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « tell me how to make bots work!! »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   tell me how to make bots work!!
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: tell me how to make bots work!!  (Read 1410 times)
hanzack
Forum Senior Member
****




lalala...I'm singing a song of arimaa.

   


Gender: male
Posts: 35
tell me how to make bots work!!
« on: Dec 2nd, 2010, 9:12am »
Quote Quote Modify Modify

I was able to connect my bot" uhyouhyo" to the
 
 gameroom, but it does ilegal move!
 
perl said "  ' , '  is not unrecognizable " or something ! Angry
 
what should i do!!! ahhhh!
 
** Link remove by Admin **
« Last Edit: Dec 2nd, 2010, 9:18pm by Forum Admin » IP Logged
Janzert
Forum Guru
*****



Arimaa player #247

   


Gender: male
Posts: 1016
Re: tell me how to make bots work!!
« Reply #1 on: Dec 2nd, 2010, 2:32pm »
Quote Quote Modify Modify

Warning! The link above appears to be to a japanese porn site with many NSFW images immediately displayed.
 
I was expecting a screenshot of the error or some such.
 
Janzert
IP Logged
Forum Admin
Forum Administrator
*****



Arimaa forum admin

   
WWW Email

Posts: 14
Re: tell me how to make bots work!!
« Reply #2 on: Dec 2nd, 2010, 9:25pm »
Quote Quote Modify Modify

Hanzack, please don't post links that. It violates the posting guidelines. Thanks.
IP Logged
hanzack
Forum Senior Member
****




lalala...I'm singing a song of arimaa.

   


Gender: male
Posts: 35
Re: tell me how to make bots work!!
« Reply #3 on: Dec 3rd, 2010, 3:14am »
Quote Quote Modify Modify

I just gave you it as thanks in advance.
 
so why can't my bot submit setting position? Kiss
IP Logged
hanzack
Forum Senior Member
****




lalala...I'm singing a song of arimaa.

   


Gender: male
Posts: 35
Re: tell me how to make bots work!!
« Reply #4 on: Dec 3rd, 2010, 4:04am »
Quote Quote Modify Modify

#!/usr/bin/perl
 
# This is just a modified version of the move count program.
#   This returns a leagle move for the given input position.
 
# This program does not even look at the move list file,
#   but it is provided as the second argument
 
 
$fn = $ARGV[0];
 
if (! $fn){
  print "enter input position file name: ";
  $fn = <STDIN>;
  chomp $fn;
  $interactive = 1;
}
 
if (! -e $fn){
  die "file $fn not found\n";
}
 
($c,$t,$s,@p) = readBoard($fn);
 
 
 
what's the position file name!?!?!?!
 
tell meeee!! :'(
IP Logged
Tuks
Forum Guru
*****



Arimaa player #2626

   


Gender: male
Posts: 204
Re: tell me how to make bots work!!
« Reply #5 on: Dec 3rd, 2010, 2:23pm »
Quote Quote Modify Modify

wow, im speechless
IP Logged
hanzack
Forum Senior Member
****




lalala...I'm singing a song of arimaa.

   


Gender: male
Posts: 35
Re: tell me how to make bots work!!
« Reply #6 on: Dec 3rd, 2010, 10:15pm »
Quote Quote Modify Modify

I edited the bot cfg file but my bot keeps submitting an ilegal move... Undecided whyHuh
 
and what do you mean by "This is just a modified version of the move count program.
#   This returns a leagle move for the given input position."
 
what's "leagle"?
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: tell me how to make bots work!!
« Reply #7 on: Dec 3rd, 2010, 10:28pm »
Quote Quote Modify Modify

on Dec 3rd, 2010, 10:15pm, hanzack wrote:
what's "leagle"?

legal
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.