|
||
Title: Correct notation for this move Post by JimmSlimm on Apr 14th, 2011, 2:43pm What is the correct notation for dying when I pull? Ec4s mc5s Ec3x ? Ec4s Ec3x mc5s ? |
||
Title: Re: Correct notation for this move Post by jdb on Apr 14th, 2011, 2:50pm on 04/14/11 at 14:43:25, JimmSlimm wrote:
The second one is correct. |
||
Title: Re: Correct notation for this move Post by omar on Apr 14th, 2011, 11:32pm 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. |
||
Title: Re: Correct notation for this move Post by JimmSlimm on Apr 23rd, 2011, 6:14pm 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? edit2: I was wrong, Rb1e SHOULD be legal, I'm confused, what was the illegal move? |
||
Title: Re: Correct notation for this move Post by Fritzlein on Apr 23rd, 2011, 6:50pm on 04/23/11 at 18:14:17, JimmSlimm wrote:
Looks legal to me. |
||
Title: Re: Correct notation for this move Post by JimmSlimm on Apr 23rd, 2011, 6:54pm is there a way to see what move the gameroom server received? I'm thinking maybe AEI sent the wrong move |
||
Title: Re: Correct notation for this move Post by Janzert on Apr 23rd, 2011, 11:33pm 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:
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 |
||
Title: Re: Correct notation for this move Post by JimmSlimm on Apr 24th, 2011, 10:13am Thanks I guess I was just lagging, I saw that almost all of my bandwitch was used at the time |
||
Title: Re: Correct notation for this move Post by rbarreira on Apr 24th, 2011, 3:36pm According to the game log, that was not the move received by the server: Quote:
It seems that your bot left and rejoined the game and then sent a move for the silver side. |
||
Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |