Welcome, Guest. Please Login or Register.
May 17th, 2024, 7:00am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « bot_clueless »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   bot_clueless
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: bot_clueless  (Read 3208 times)
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
bot_clueless
« on: Nov 14th, 2005, 7:23pm »
Quote Quote Modify Modify

I started this thread to let people know when I update bot_clueless.
 
It is running on an AMD 2800.
 
Giving in to the tremendous peer pressure, I changed the opening setup. Hopefully this version meets with 99of9's approval.  Smiley
 
Added some pruning to the search, so it should search a little better. (I hope)
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: bot_clueless
« Reply #1 on: Nov 14th, 2005, 8:14pm »
Quote Quote Modify Modify

Haha, thanks Jeff - I'm sure Clueless will be a worthy opponent once again!
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #2 on: Dec 9th, 2005, 7:15pm »
Quote Quote Modify Modify

I made some more changes.
 
1) Changed time usage. Hopefully it won't time out anymore. Added some logging to see what's happening
 
2) Added 2 ply, captures only, Q search. No idea if it helps or not.
 
3) Fixed repetition of position detection bug. I carefully detected all the duplicate positions in the game file, but never tested them against the actual move.
 
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #3 on: Dec 11th, 2005, 9:41am »
Quote Quote Modify Modify

More changes:
 
1) another change to the timing. Hopefully this does it
 
2) Increased value of a framed piece
 
3) added null move
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #4 on: Dec 13th, 2005, 3:22pm »
Quote Quote Modify Modify

Ok, timeout stuff seems to be fixed
 
1) Updated to FAME 2.0. Changes as listed in Fritz's post
 
2) Changed to all rabbits captured is a win. This is the ruleset for the tournament
 
3) Scaled FAME values so a rabbit is worth 1000, so I have more room to work with for positional values
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: bot_clueless
« Reply #5 on: Dec 13th, 2005, 5:49pm »
Quote Quote Modify Modify

Thanks for the updates, Jeff.  It's really cool of you to let us know what is going on.  Also, I'm thrilled that any developer thinks FAME is worth using.  Now I will definitely be rooting for Clueless to win the CC.
 
I hope, though, that having dynamic piece values doesn't cause too much of a headache when combined with static positional values.  For example, cats get way more valuable later in the game, so the value of a cat hostage or a cat threat should rise too.  I wonder if it is possible to index the value of hostages and threats to the positions of the pieces in the matchup order.  That is to say, instead of having a value for an elephant holding a horse hostage, there would be a value for the #1 piece holding the enemy's #4 piece hostage.  Just a thought...
IP Logged

99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: bot_clueless
« Reply #6 on: Dec 13th, 2005, 6:08pm »
Quote Quote Modify Modify

on Dec 13th, 2005, 5:49pm, Fritzlein wrote:
Also, I'm thrilled that any developer thinks FAME is worth using.

I think we all would if it were easy to integrate - it's clearly a better system than previous proposals.
 
Quote:
I hope, though, that having dynamic piece values doesn't cause too much of a headache when combined with static positional values.

This is why I'm working on other things instead this year.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #7 on: Dec 15th, 2005, 1:19pm »
Quote Quote Modify Modify

More changes
 
1) Fixed bug in defend threat search. This bug caused clueless_test to decide not to capture a free camel.
 
2) More agressive in advancing rabbits in the endgame.
 
3) Started changing static positional values to dynamic ones, to stay in tune with FAME values. Currently framed and threatened pieces are done this way.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #8 on: Dec 16th, 2005, 2:13pm »
Quote Quote Modify Modify

More changes to eval.
 
1) Added some basic understanding of enemy trap control
 
2) If enemy trap is controlled, then decide if a rabbit or two should be sent in. Divided board into quarters and do a modified FAME on the quadrant. If attacking side has material superiority and enemy trap control, bonus for sending in the rabbits
 
IP Logged
Ryan_Cable
Forum Guru
*****



Arimaa player #951

   


Gender: male
Posts: 138
Re: bot_clueless
« Reply #9 on: Dec 16th, 2005, 3:07pm »
Quote Quote Modify Modify

on Dec 16th, 2005, 2:13pm, jdb wrote:
2) If enemy trap is controlled, then decide if a rabbit or two should be sent in. Divided board into quarters and do a modified FAME on the quadrant. If attacking side has material superiority and enemy trap control, bonus for sending in the rabbits

Awesome!  I have been saying for a long time that the bots need a global understanding of the board.
 
I think FAME would greatly overvalue Rs in goal defense, but maybe this is already included in your modifications.
 
Clueless has rudimentary global understanding.  Gnobby has some kind of book learning.  Bomb has bugs.  This CC should be much more interesting than I expected 2 months ago.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: bot_clueless
« Reply #10 on: Dec 17th, 2005, 1:23pm »
Quote Quote Modify Modify

on Dec 16th, 2005, 2:13pm, jdb wrote:
2) If enemy trap is controlled, then decide if a rabbit or two should be sent in. Divided board into quarters and do a modified FAME on the quadrant. If attacking side has material superiority and enemy trap control, bonus for sending in the rabbits

Excellent!  A minor point is for the combination to work the other way, i.e. if there is an advanced rabbit on one wing, then attacking the trap on that side is worth more than usual.  Maybe that is built into the way the eval works, but I thought I would bring it up just in case.
IP Logged

jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #11 on: Dec 19th, 2005, 9:46am »
Quote Quote Modify Modify

More changes
 
1) Fixed horrendous bug in elephant blockade code. Had true and false reversed.
 
2) Increased major piece mobility values
 
3) Rabbit attacks are evaluated independantly of enemy trap control. Only condition for attack is material superiority in that quadrant
 
4) Changed definition of trap control. Stronger side must have at least 2 pieces near trap to have control.
 
5) Added term to encourage rotating big pieces out of a frame.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #12 on: Dec 27th, 2005, 3:05pm »
Quote Quote Modify Modify

The comptuer clueless runs on decided to stop sharing files, so I had to convince it that sharing files was in its best interests.
 
Added code to handle hostage situations and pieces dragged into enemy territory. Clueless should resist getting its pieces dragged a little better and work a little harder on dragging opponents pieces. There are alot of big eval terms in this, so it will take some tuning to get right.
 
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: bot_clueless
« Reply #13 on: Jan 16th, 2006, 11:32am »
Quote Quote Modify Modify

Added some eval stuff to activate the camel, if the enemy elephant is entangled.  
 
Increased material value relative to the positional terms. It was throwing away rabbits for no reason.
 
Tested stuff on the tournament computer. Seemed to work ok.
IP Logged
rajmahendra
Forum Senior Member
****




Raj

  rajeshblog  
Email

Gender: male
Posts: 40
Re: bot_clueless
« Reply #14 on: Aug 15th, 2009, 12:08am »
Quote Quote Modify Modify

Hi Jeff,
 
I am a Java developer too. Smiley
 
Is the code in http://arimaa.com/arimaa/download/#javaBot  is updated ?
 
Just like to see how its coded never tried of any engine.
 
One doubt.
 
java -Xmx500000000 -classpath test.jar arimaa3.ArimaaMain posFile moveFile gameStateFile
 
May i know what are posFile moveFile gameStateFile
 
how to create these files?
 
Thank you for creating a Bot in Java it will be helpful for many Java developers Smiley
IP Logged

Pages: 1 2  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.