Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 10:15pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Hi, bot_Hippo borning »


   Arimaa Forum
   Arimaa
   Say Hello
(Moderator: supersamu)
   Hi, bot_Hippo borning
« Previous topic | Next topic »
Pages: 1 2 3  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Hi, bot_Hippo borning  (Read 48547 times)
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Hi, bot_Hippo borning
« on: Apr 20th, 2011, 4:40am »
Quote Quote Modify Modify

My name is bot_Hippo,
my mother is the old version of bot_clueless my father is Hippo.
I am codded in java. I am very joung ... I were not born yet.
Hippo made some codding tricks in game engine.
 
I play generalised arimaa
(the same board, weakest pieces to goal, the number of different strengths is limited to 8, the strengths are ordered ...
acctually the interface to game defining string was not codded so 882222221111RrCcDdHhMmEe is expected).
The generalisation should be important on depleted boards when the piece set is reduced and my representation shrinks.
 
My engine uses bitboards, but in my mama terminology it skips the primaries. This actually leads to another  
speedup of the engine. The bitboards are used whenever possible, using single place branches as the last resort.
 
Goal tests incorporate elimination threat (and for example "can_rabbit_run" uses only bitboards (no single place branch)).  
 
Each gamestate is linked to material graph so HAME evaluation is for free.
 
The zorb hashing is maintained "incrementaly" as well.
 
So far the searching uses mama's alpha-beta, but I expect I would use a mix with weighted MCTS later.
 
I cannot speak yet, I have to learn the interface to aei.
 
I haven't been compiled and debugged yet. But I hope it would be done early to be actually born. I am eager to see the entire world.
 
My papa have been trying a lot to learn position evaluation. But so far he haven't taught me it yet.  
He haven't taught me which moves not to consider at all as well. But I hope he would assist me in my childhood.
« Last Edit: May 8th, 2011, 2:26pm by Hippo » IP Logged

megajester
Forum Guru
*****




Istanbul, Turkey

   
Email

Gender: male
Posts: 710
Re: Hi, bot_Hippo borning
« Reply #1 on: Apr 20th, 2011, 5:08am »
Quote Quote Modify Modify


Awww, isn't he cute!
IP Logged

RonWeasley
Forum Guru
*****




Harry's friend (Arimaa player #441)

   


Gender: male
Posts: 882
Re: Hi, bot_Hippo borning
« Reply #2 on: Apr 20th, 2011, 3:59pm »
Quote Quote Modify Modify

Hagrid likes this.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #3 on: May 8th, 2011, 3:22am »
Quote Quote Modify Modify

So finally I was born and AEI speaking ... first 100 wins against bot_random done locally. The to do list is long, and the AEI connection needs optimisation. I expect my father would give the empty strategy version early for other developers as my mother was shown earlierSmiley.
 
I want to climb bot leader. How could I do that?
« Last Edit: May 8th, 2011, 2:25pm by Hippo » IP Logged

JimmSlimm
Forum Guru
*****




Arimaa player #6348

   


Gender: male
Posts: 86
Re: Hi, bot_Hippo borning
« Reply #4 on: May 9th, 2011, 1:37pm »
Quote Quote Modify Modify

I see that your bot is up and running now Smiley gratz
 
Quote:
I want to climb bot leader. How could I do that?

 
I also wonder how to do this for my bot, anyone know if it's possible?
 
edit: answer is at http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=devTalk;action=display ;num=1208096005
« Last Edit: May 9th, 2011, 4:30pm by JimmSlimm » IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #5 on: May 10th, 2011, 6:32pm »
Quote Quote Modify Modify

Dad spent several hours to reconfigure Synology to run me here ... to discover there is very low memory available Sad.
IP Logged

Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #6 on: Jun 2nd, 2011, 5:47pm »
Quote Quote Modify Modify

Bug with reduction of number of bitboards finally (after several days) corrected, three fold repetition (at root) is updated incrementally now. So after correction of move representation my source code (with dummy evaluation) would be available.
« Last Edit: Jun 2nd, 2011, 5:47pm by Hippo » IP Logged

Eltripas
Forum Guru
*****




Meh-he-kah-naw

   


Gender: male
Posts: 225
Re: Hi, bot_Hippo borning
« Reply #7 on: Jun 2nd, 2011, 6:15pm »
Quote Quote Modify Modify

Someone should tell Hippo that his bot obtained sentience, hacked his account and now is posting in the forum, is a great step forward for the AI though.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #8 on: Jun 5th, 2011, 4:20am »
Quote Quote Modify Modify

OK, here I am
http://hrosi.dyndns.org/arimaa/bot_Hippo110605.zip
to do list is short enough now Smiley, with bug message commented out it could be used as a starting point for any java aei (alpha beta) bitboard bot.
« Last Edit: Jun 5th, 2011, 4:34am by Hippo » IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Hi, bot_Hippo borning
« Reply #9 on: Jul 9th, 2011, 4:24pm »
Quote Quote Modify Modify

Is it OK if I add bot_Hippo to the downloads page.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #10 on: Jul 17th, 2011, 4:44am »
Quote Quote Modify Modify

Sure, it would be OK.
Today I have find some time between postals to find why my bot wrongly detects elimination. And this bug was detected ... I have converted move piece_bb addressing logic from color related to relative to current player related. But later I find it was not helpful so in final version I revert it back to the original jdb convention ... except in getSetBits(x) in GenCaptures and GenTurn.
So I have to correct at least this bug.
 
Now it seems the goal+elimination detection works well on all tested games from the database.
 
Oops not yet. ... it missed the goal in 174747 Sad
Oops it's still getSetBits(x) problem ... wrongly converted back to original convention.
 
More: I have found bug in goal hash table. I have tought back row could not affect goal. But there could be "rabbitports" like in the following position:
Code:

 --------  
|........|
|Re......|
|..x..x..|
|Rm......|
|........|
|Rhx..x..|
|.......r|
|R.......|
 --------

So filtering the back rows trick should be removed.
... done.
 
So current version is here:
http://hrosi.dyndns.org/arimaa/bot_Hippo110717.zip
« Last Edit: Jul 17th, 2011, 11:37am by Hippo » IP Logged

rajmahendra
Forum Senior Member
****




Raj

  rajeshblog  
Email

Gender: male
Posts: 40
Re: Hi, bot_Hippo borning
« Reply #11 on: Jul 19th, 2011, 7:30am »
Quote Quote Modify Modify

Do you have any sample program to run the bot ?
IP Logged

Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #12 on: Jul 19th, 2011, 10:30am »
Quote Quote Modify Modify

on Jul 19th, 2011, 7:30am, rajmahendra wrote:
Do you have any sample program to run the bot ?

 
You can see main's in a lot of classes used for testing, current tests of goals can use movelist.txt containing ascii file with movelist of a game per line. ... It's work in the progress ... now I am planning to extend goal detection one turn earlier to existence test/generate just goal preventig "turns". But you are probbably interested on playing normal game with the bot.
 
It uses AEI interface so you need pyton and AEI installed as well. (For rabbits bot you need corresponding python extension.)
 
s.bat:
c:
cd \Eclipse\workspace\bot_Hip\bin
java arimaa3/ArimaaEngineInterface
 
-------------------------------------
this is used in gameroom.cfg used by AEI ... here is corresponding portion of it:
 
# bot section to use
default_engine = bot_hippo
 
[bot_hippo]
username = bot_Hippo
password =  
communication_method = stdio
cmdline = s.bat
greeting = Hi. I'm just a bot and I am not ready to chat yet.
 My handler is Hippo (Vladan Majerech).  
 If you encounter any problems please notify me through the forum.
 Thank you for playing me and enjoy the game.
 So far My position evaluation function is empty.
#timecontrol = 60s/5m/75/0/4h/4m
timecontrol = 30s/3m/75/0/2h
 
rated = True
 
# should the bot think on opponents turn
# should probably be set to False when playing at a fixed depth
ponder = True
# it is planned to do compression on opponent's turn in future
 
# options starting with bot_ are sent to configure the bot before starting play
# Size in MB for transition table
bot_hash = 200
# it is ignored so far
 
----------------------
this could be used in roundrobin.py as well. Add following to roundrobin.cfg. (I use rabbit's human-bot interface)
 
bots = hippo human
 
[Hippo]
# command line
cmdline = s.bat
« Last Edit: Jul 19th, 2011, 10:48am by Hippo » IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Hi, bot_Hippo borning
« Reply #13 on: Jan 21st, 2012, 11:42am »
Quote Quote Modify Modify

Is there a newer version of the bot? The link points to the version dated 11.06.05. Maybe you could have bot_Hippo.zip link to the most current version so that I can link to bot_Hippo.zip to let the users get the latest one. Also can you prove a gzipped version as well.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Hi, bot_Hippo borning
« Reply #14 on: Jan 21st, 2012, 12:24pm »
Quote Quote Modify Modify

on Jan 21st, 2012, 11:42am, omar wrote:
Is there a newer version of the bot? The link points to the version dated 11.06.05. Maybe you could have bot_Hippo.zip link to the most current version so that I can link to bot_Hippo.zip to let the users get the latest one. Also can you prove a gzipped version as well.

There is link to a bit younger (110717 version 2 posts later. I will gzip it later. And yes, we could switch to bot_Hippo link without dates as well.  
 
BTW: I am not sure if I let all versions public Wink ... but surely this was not the last public version.
IP Logged

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