Welcome, Guest. Please Login or Register.
May 2nd, 2024, 10:11am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Correct notation for this move »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Correct notation for this move
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Correct notation for this move  (Read 1517 times)
JimmSlimm
Forum Guru
*****




Arimaa player #6348

   


Gender: male
Posts: 86
Correct notation for this move
« on: Apr 14th, 2011, 2:43pm »
Quote Quote Modify Modify

What is the correct notation for dying when I pull?
 
Ec4s mc5s Ec3x ?
Ec4s Ec3x mc5s ?
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Correct notation for this move
« Reply #1 on: Apr 14th, 2011, 2:50pm »
Quote Quote Modify Modify

on Apr 14th, 2011, 2:43pm, JimmSlimm wrote:
What is the correct notation for dying when I pull?
 
Ec4s mc5s Ec3x ?
Ec4s Ec3x mc5s ?

 
The second one is correct.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Correct notation for this move
« Reply #2 on: Apr 14th, 2011, 11:32pm »
Quote Quote Modify Modify

Traps are checked after each step to see if any piece needs to be removed. Thus the notation to indicate the removal of the E comes right after it takes a step.
IP Logged
JimmSlimm
Forum Guru
*****




Arimaa player #6348

   


Gender: male
Posts: 86
Re: Correct notation for this move
« Reply #3 on: Apr 23rd, 2011, 6:14pm »
Quote Quote Modify Modify

I'm in trouble again, my bot made illegal move but I don't see why it was illegal:
http://arimaa.com/arimaa/games/jsShowGame.cgi?gid=181043&s=w <--- last move
 
the log from AEI sais:
2011-04-24 00:49:09 INFO:gameroom:Sending move Rb1e Eb3e Ec3w hd3w hc3x
 
what's wrong with it?
 
edit: nevermind I saw it now ^^ "Rb1e" is illegal
edit2: I was wrong, Rb1e SHOULD be legal, I'm confused, what was the illegal move?
« Last Edit: Apr 23rd, 2011, 6:39pm by JimmSlimm » IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Correct notation for this move
« Reply #4 on: Apr 23rd, 2011, 6:50pm »
Quote Quote Modify Modify

on Apr 23rd, 2011, 6:14pm, JimmSlimm wrote:
2011-04-24 00:49:09 INFO:gameroom:Sending move Rb1e Eb3e Ec3w hd3w hc3x
 
what's wrong with it?

Looks legal to me.
IP Logged

JimmSlimm
Forum Guru
*****




Arimaa player #6348

   


Gender: male
Posts: 86
Re: Correct notation for this move
« Reply #5 on: Apr 23rd, 2011, 6:54pm »
Quote Quote Modify Modify

is there a way to see what move the gameroom server received?
 
I'm thinking maybe AEI sent the wrong move
IP Logged
Janzert
Forum Guru
*****



Arimaa player #247

   


Gender: male
Posts: 1016
Re: Correct notation for this move
« Reply #6 on: Apr 23rd, 2011, 11:33pm »
Quote Quote Modify Modify

You could turn the network logging in aei to debug to see exactly what is getting sent and received over the network. But in the case of the move logged and the move sent it is sending the exact string logged as the move to the server.
 
See around line 445 in gameroom.py for where the move is logged with:
Code:
log.info("Sending move %s", response.move)

then a few lines later uses the same untouched "response.move" to call the method "self.move". You can then go to around line 240 for the "move" method and see that it uses the string passed in to build a post request to the server with it as the move made.
 
Having said that I don't really know why the server might have rejected that move. Is it possible there is some extraneous whitespace at the end of the move? That's about the only thing I can think of offhand.
 
Janzert
« Last Edit: Apr 23rd, 2011, 11:35pm by Janzert » IP Logged
JimmSlimm
Forum Guru
*****




Arimaa player #6348

   


Gender: male
Posts: 86
Re: Correct notation for this move
« Reply #7 on: Apr 24th, 2011, 10:13am »
Quote Quote Modify Modify

Thanks
 
I guess I was just lagging, I saw that almost all of my bandwitch was used at the time
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Correct notation for this move
« Reply #8 on: Apr 24th, 2011, 3:36pm »
Quote Quote Modify Modify

According to the game log, that was not the move received by the server:
 
Quote:
1303598953 [Sat Apr 23 22:49:13 2011] move 10b received from b [hc4e hd4s ra7s ra6e]
1303598953 [Sat Apr 23 22:49:13 2011] after 10b, move used:83 wresv:120 bresv:13 game:289
1303598985 [Sat Apr 23 22:49:45 2011] w player has left
1303598993 [Sat Apr 23 22:49:53 2011] w player joining
1303598993 [Sat Apr 23 22:49:53 2011] w player present
1303598994 [Sat Apr 23 22:49:54 2011] w player present
1303599002 [Sat Apr 23 22:50:02 2011] move 11w received from w [rb6s hb4e Rh6s eg6e]
1303599002 [Sat Apr 23 22:50:02 2011] gameserver rejected move [rb6s hb4e Rh6s eg6e]; bad step rb6s hb4e Rh6s eg6e

1303599002 [Sat Apr 23 22:50:02 2011] result=bi side=w

 
It seems that your bot left and rejoined the game and then sent a move for the silver side.
« Last Edit: Apr 24th, 2011, 3:43pm by rbarreira » 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.