Welcome, Guest. Please Login or Register.
Apr 24th, 2024, 3:24pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « No javascript client to use at home, right? »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   No javascript client to use at home, right?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: No javascript client to use at home, right?  (Read 1340 times)
Swynndla
Forum Guru
*****



Arimaa player #1821

   


Posts: 235
No javascript client to use at home, right?
« on: Jul 29th, 2011, 5:21am »
Quote Quote Modify Modify

(Not that I'm up to this stage yet, but) I was wondering what bot developers do when they want to play their bot at home to test it ... do they:
- play using a physical board/pieces (with moves output & input via text on a command line shell)?, or
- get the bot to print out a text board on stdout (and moves via command line shell)?, or
- connect the bot with the gameroom and play online?
 
There's no javascript client that can be used at home right?
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: No javascript client to use at home, right?
« Reply #1 on: Jul 29th, 2011, 6:33am »
Quote Quote Modify Modify

I do the two simplest methods:
  • Get the bot to play other bots in the gameroom, and watch it.
  • Set up some sample input files with interesting positions for it to solve.
IP Logged
Nazgand
Forum Guru
*****



Arimaa player #6461

   
Email

Gender: male
Posts: 87
Re: No javascript client to use at home, right?
« Reply #2 on: Jul 29th, 2011, 7:11am »
Quote Quote Modify Modify

I believe this is what you are looking for - but, honestly, they all use the terminal and play in their head.
IP Logged
lightvector
Forum Guru
*****



Arimaa player #2543

   


Gender: male
Posts: 197
Re: No javascript client to use at home, right?
« Reply #3 on: Jul 29th, 2011, 9:13am »
Quote Quote Modify Modify

I haven't done that much successful eval testing myself Undecided, but I also go with 99of9's methods. Also, I have it evaluate sets of positions directly to see the values are reasonable (after I make a change to position A that should make it better for one player, does it get evaluated higher?), and have a simple testing mode where the bot generates two random setups and plays a game against itself, outputting the board after each step in ASCII, so I can see visually if it makes a really bad move, and try to correct it.
IP Logged
Swynndla
Forum Guru
*****



Arimaa player #1821

   


Posts: 235
Re: No javascript client to use at home, right?
« Reply #4 on: Jul 29th, 2011, 6:41pm »
Quote Quote Modify Modify

Thanks for the replies! Smiley
 
lightvector - when your get you bot to play itself, do you use the AEI's analyze & roundrobin scripts, or do you use your own simple script to connect the two bots, or do you get the bot to play itself within its program (if I'm making any sense)?
IP Logged
lightvector
Forum Guru
*****



Arimaa player #2543

   


Gender: male
Posts: 197
Re: No javascript client to use at home, right?
« Reply #5 on: Jul 29th, 2011, 8:33pm »
Quote Quote Modify Modify

In my program, I implemented a simple loop that keeps a board in memory and repeatedly calls the search function to get a move and then makes the move on the board, until one side or the other wins. Search depth and time are passed in through the command line.
 
When playing with another bot, I use the AEI scripts. But right now, I don't have too many other bots to test against locally.
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.