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:
Posts: 35
|
|
tell me how to make bots work!!
« on: Dec 2nd, 2010, 9:12am » |
Quote Modify
|
I was able to connect my bot" uhyouhyo" to the gameroom, but it does ilegal move! perl said " ' , ' is not unrecognizable " or something ! 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:
Posts: 1016
|
|
Re: tell me how to make bots work!!
« Reply #1 on: Dec 2nd, 2010, 2:32pm » |
Quote 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
Posts: 14
|
|
Re: tell me how to make bots work!!
« Reply #2 on: Dec 2nd, 2010, 9:25pm » |
Quote 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:
Posts: 35
|
|
Re: tell me how to make bots work!!
« Reply #3 on: Dec 3rd, 2010, 3:14am » |
Quote Modify
|
I just gave you it as thanks in advance. so why can't my bot submit setting position?
|
|
IP Logged |
|
|
|
hanzack
Forum Senior Member
lalala...I'm singing a song of arimaa.
Gender:
Posts: 35
|
|
Re: tell me how to make bots work!!
« Reply #4 on: Dec 3rd, 2010, 4:04am » |
Quote 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:
Posts: 204
|
|
Re: tell me how to make bots work!!
« Reply #5 on: Dec 3rd, 2010, 2:23pm » |
Quote Modify
|
wow, im speechless
|
|
IP Logged |
|
|
|
hanzack
Forum Senior Member
lalala...I'm singing a song of arimaa.
Gender:
Posts: 35
|
|
Re: tell me how to make bots work!!
« Reply #6 on: Dec 3rd, 2010, 10:15pm » |
Quote Modify
|
I edited the bot cfg file but my bot keeps submitting an ilegal move... why 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
Gender:
Posts: 5928
|
|
Re: tell me how to make bots work!!
« Reply #7 on: Dec 3rd, 2010, 10:28pm » |
Quote Modify
|
on Dec 3rd, 2010, 10:15pm, hanzack wrote: legal
|
|
IP Logged |
|
|
|
|