Author |
Topic: bot_clueless (Read 3207 times) |
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Re: bot_clueless
« Reply #15 on: Aug 15th, 2009, 5:42am » |
Quote Modify
|
on Aug 15th, 2009, 12:08am, rajmahendra wrote:Hi Jeff, I am a Java developer too. 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 |
| It is the code from 2006. It is somewhat different than the current version, but the core data structures are still the same. The posFile moveFile gameStateFile are created by Omar's bot interface script.
|
|
IP Logged |
|
|
|
rajmahendra
Forum Senior Member
Raj
Gender:
Posts: 40
|
|
Re: bot_clueless
« Reply #16 on: Aug 15th, 2009, 5:58am » |
Quote Modify
|
can you give me a sample file of posFile moveFile gameStateFile so i can pass it to the bot.
|
|
IP Logged |
|
|
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Re: bot_clueless
« Reply #17 on: Aug 15th, 2009, 7:27am » |
Quote Modify
|
on Aug 15th, 2009, 5:58am, rajmahendra wrote:can you give me a sample file of posFile moveFile gameStateFile so i can pass it to the bot. |
| The code has multiple program entry points. The program starts in ArimaaMain if it is going to play in the gameroom. To do testing, start the program in ArimaaEngine. ArimaaMain just pulls in the information from the gameState file and sends it to ArimaaEngine in a format it understands. It would be easiest to start by looking at main in ArimaaEngine.
|
|
IP Logged |
|
|
|
rajmahendra
Forum Senior Member
Raj
Gender:
Posts: 40
|
|
Re: bot_clueless
« Reply #18 on: Aug 15th, 2009, 9:16am » |
Quote Modify
|
Thank you Jeff now i got it. the input is a graphical representation of a position and the output is the moves.
|
|
IP Logged |
|
|
|
|