Welcome, Guest. Please Login or Register.
Jun 7th, 2020, 5:19am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Bug in Arimaa Game Client? »


   Arimaa Forum
   Arimaa
   General Discussion
(Moderator: supersamu)
   Bug in Arimaa Game Client?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Bug in Arimaa Game Client?  (Read 1132 times)
dpalmer
Forum Full Member
***



Arimaa player #4712

   


Gender: female
Posts: 15
Bug in Arimaa Game Client?
« on: Jul 18th, 2017, 4:17pm »
Quote Quote Modify Modify

First of all, there have been enough games played that I doubt there is a bug, but I could not explain what I observed.
 
I was in Expert mode, playing out speculative branches of a game I am playing with hanuman. I got to a situation in which I wanted to have an elephant commit suicide. It went into the c6 trap on the third step of its move, but the client would not let me complete a pull of a silver rabbit into d6 as the fourth step.
 
As part of the move, a gold rabbit had been lost as the second step of the turn was moving the gold elephant away from the f6 trap where a gold rabbit resided. The elephant was the only friendly adjacent to the trap.  
 
Am I not understanding something? I understand that pulls can be completed by captured pieces. I also verified this experimentally with other pieces in less unusual circumstances.
 
The exact scenario was:
gold Cat: g5
gold Dog: g7
gold Rabbit: f6
gold Elephant: e6
 
silver elephant: c5
silver rabbit: d6
silver dog: d7
silver horse: g6
silver rabbit: f7
 
The attempted move for gold was:
 
rd6s Ee6w rf6x Ed6w Ec6x rd5n
 
The client would not allow the final (4th) step: rd5n
 
Seemed very strange....
IP Logged
dpalmer
Forum Full Member
***



Arimaa player #4712

   


Gender: female
Posts: 15
Re: Bug in Arimaa Game Client?
« Reply #1 on: Jul 18th, 2017, 4:29pm »
Quote Quote Modify Modify

I tried to post a screenshot and a link to the speculative state of the game - neither attempts were successful.
IP Logged
clyring
Forum Guru
*****



Arimaa player #6218

   


Gender: female
Posts: 302
Re: Bug in Arimaa Game Client?
« Reply #2 on: Jul 21st, 2017, 4:28pm »
Quote Quote Modify Modify

There are a few known bugs in similar situations, where the client can become confused by a capture mid-turn, though I don't think I've seen this exact one before. Since this is a postal and anyway the attempted move is an explicit admission of loss, it's not too big of a deal- in desperation you can try using another of the clients (Settings > Game  Client, in the gameroom), or sending the move artificially with the blindfold play script.
 
I was able to confirm that in this particular position, the move can be sent with the flash v1 client, but not with the flash v2 or javascript clients, and the server accepts the move as legal. (Indeed, I don't know of any positions where the server incorrectly assesses the legality of a move, but I also haven't tested these edge cases much at all due to the inconvenience of so doing.)
 
EDIT: Link to the position, for anyone who wants to verify this bug.
« Last Edit: Jul 21st, 2017, 4:30pm by clyring » IP Logged



Poke me about restarting the Endless Endgame Event (EEE)!
dpalmer
Forum Full Member
***



Arimaa player #4712

   


Gender: female
Posts: 15
Re: Bug in Arimaa Game Client?
« Reply #3 on: Jul 21st, 2017, 4:53pm »
Quote Quote Modify Modify

Point is well taken about the likelihood of this being a big deal.
 
The platform has been rock solid for me for so long, it caught me off guard.  I am glad to know from this reply how to set up a URL for a specific game state.
 
Thanks for the information.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 984
Re: Bug in Arimaa Game Client?
« Reply #4 on: Jan 6th, 2019, 12:50am »
Quote Quote Modify Modify

Yes, looks like it is bug. I just looked at the code and I see what is causing it. But this is a good opportunity to see if we have any other programmers here who can find it. Just open the link that clyring gave above. Hit Ctrl-u to view the source. Click the link to open arimaa.js. All the client code is in this file and source is readable. See if you can find what might me causing the silver rabbit to not be "pullable" Smiley
IP Logged
Max2
Forum Newbie
*



Arimaa player #11183

   


Gender: male
Posts: 1
Re: Bug in Arimaa Game Client?
« Reply #5 on: Feb 22nd, 2019, 2:44pm »
Quote Quote Modify Modify

More moves which do not work in this position:
 
1. rd6s Ee6w Rf6x Ed6w         Ec6x rd5n  (from first post)
2. rd6s Ee6w Rf6x Ed6w         Ec6x dd7s  
3.          Ee6s Rf6x Ee5n Ee6e Ef6x rd6e  
4.          Ee6n Rf6x Ee5s Ee6e Ef6x rd6e  
 
All this moves have in common:
- the gold rabbit is captured passiv with first step
- the gold elephant captures itself with third step
- the 4th step pull by captured elephant is not allowed
(- all 4 steps are used  
not neccessary; reproduced bug with 3 steps in other position)
 
« Last Edit: Feb 22nd, 2019, 4:01pm by Max2 » 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.