gokibitz
gokibitz copied to clipboard
Playing variations and skipping to next comments can mess up colors
Heya, I found another bug in the dreaded Lumo vs. execration game. Steps:
- go to https://gokibitz.com/kifu/VJdTzp84?path=60-58:1
- play the very first sequence Ben provides
- skip to the next comment (with the comment arrow >)
- the stone at Q7 is actually black! you can verify this by replaying the steps without 2 (playing the sequence)
This is the only instance I found, but I'm on the lookout :)
I'm not seeing what you are talking about. It's a different variation. If you look at the query string it is saying that you are on move 60 but branched from move 58 on variation 1 (0 based variation labelling so this is variation 2). When you click the next comment button you are now on ?path=59-58:1-59:1 Move 59 branches from variation 1 on move 58 and now this is another branch in that variation. (If I am wrong please help me see the change).
But there is definitely a problem with navigating with the next/previous comment buttons. I can't move to a previous move before the one you link!
I know it's a different variation, but the stone is black regardless :) Screenshots:
- go to https://gokibitz.com/kifu/VJdTzp84?path=60-58:1
- play the very first sequence Ben provides
- skip to the next comment (with the comment arrow >)
- the stone at Q7 is actually black! It shouldn't be white
- evidence? If I refresh the page it becomes black :)
What browser are you using because it appears the correct color for me. Rather what version of Firefox.
Oh, interesting. This is Firefox 38.0.1 on Arch Linux. I've just noticed that as soon as I get to the URL I get a console.log: "Error: null" app.js:3:17496
I'm using Firefox 38.0 on Ubuntu 14.04. This is so odd.
Bored at work. Can reproduce on a Windows machine on:
- Firefox 38.0.5
- Chrome 43.0.2357.81 m
- Vivaldi 1.0.118.19
- IE 10
I totally believe that this is happening... basically, the initial way I implemented sequences is kind of inadequate. It has one major failing (stones aren't captured because the stones and numbers are just added as labels to WGo) and some minor ones (there are some fringe cases of disappearing or stuck stones). The way this needs to be fixed is by a reimplementation of the feature. Which is high priority for me, but I'm just not getting the time I wish I had to work on features for GoKibitz right now.
Basically, I need to get a) password change + email verification at signup working, and then this is probably my next priority.