BesoGo: yet another web-based SGF editor

Tell the community about tournaments, new go sites, software updates, etc.
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

BesoGo: yet another web-based SGF editor

Post by YeGO »

BesoGo is a new web-based SGF editor that has just been released (v0.0.0-alpha preview).

Play with the editor here
http://yewang.github.io/besogo/


Experimental photo-realistic board rendering:
http://yewang.github.io/besogo/testing. ... lstones=on

GitHub Project Page
https://github.com/yewang/besogo

Comments, suggestions, feature requests, and bug reports are welcome. Please contact me first if you are interested in contributing via pull requests.
Last edited by YeGO on Mon May 09, 2016 10:34 am, edited 1 time in total.
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: BesoGo: yet another web-based SGF editor

Post by xed_over »

can you scale it to my browser window size and not assume I have a large enough screen to display the whole world?
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re: BesoGo: yet another web-based SGF editor

Post by YeGO »

Hi xed_over

Thanks for the feedback. While I did try to code some responsiveness, it could certainly use some work. The results might not be so great on all screen sizes. In order to determine how to improve it or fix any bugs, would you mind sharing what platform or at least the screen size that you're using?
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: BesoGo: yet another web-based SGF editor

Post by xed_over »

Does this help?
Screen Shot 2016-02-02 at 10.52.38 PM.png
Screen Shot 2016-02-02 at 10.52.38 PM.png (169.77 KiB) Viewed 11871 times
Screen Shot 2016-02-02 at 10.52.45 PM.png
Screen Shot 2016-02-02 at 10.52.45 PM.png (166.2 KiB) Viewed 11871 times
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi YeGo,

iPhone 4S, "horizontal" view, Safari:
image.jpg
image.jpg (115.08 KiB) Viewed 11868 times
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi YeGo,

iPhone 4S, "vertical" view, Safari:
image.jpg
image.jpg (136.36 KiB) Viewed 11866 times
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re: BesoGo: yet another web-based SGF editor

Post by YeGO »

xed_over and EdLee,

Thanks for the pictures and feedback. Sorry for the long delay in replying.

Check out this test version with a changed layout behavior:
http://yewang.github.io/besogo/testing.html

I tweaked the layout code a bit to hopefully reduce this issue. Basically, the editor has both a landscape or portrait mode, which is selected automatically based on window size. However, the issue with the previous version was that if the width wasn't 400 pixels larger than height, then portrait mode would be selected.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi YeGO,

I'm testing the latest version on an iPhone 4S.
Maybe I'm confused -- but when I try to place a stone,
it doesn't work -- it shows a translucent stone,
but it doesn't stay. What am I doing wrong ?

Thanks. Here's a screenshot of the translucent stone at Q16 --
which doesn't "stay":
image.jpg
image.jpg (81.92 KiB) Viewed 11650 times
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi YeGo,

Is there an option to choose the coordinate system ?
Example: the [ A1...T19 ] system:
image.jpg
image.jpg (114.8 KiB) Viewed 11649 times
Never mind; I found out the coordinate button cycles. :)
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re:

Post by YeGO »

EdLee wrote:I'm testing the latest version on an iPhone 4S.
Maybe I'm confused -- but when I try to place a stone,
it doesn't work -- it shows a translucent stone,
but it doesn't stay.
Thanks for the report. However, I don't have an iPhone, and the issue does not seem to appear on my smartphone.

The translucent stone is actually the hover effect that appears when moving a mouse cursor over the board. Clicking/tapping on a point should place a stone on the board. However, I've noticed that sometimes attempting to click via a smartphone touchscreen might not register properly as a click but instead as a cursor hover. Maybe that's what is going on?

Did the website ever work properly on your phone? Are you able to play moves in a different browser on your phone or other device?
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

YeGO wrote:Did the website ever work properly on your phone?
Are you able to play moves in a different browser on your phone or other device?
Hi YeGO, I'm not sure I was ever able to register a move on the iPhone.
I just tried another browser on the iPhone; same problem.
I haven't tried it on another mobile device.
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re: BesoGo: yet another web-based SGF editor

Post by YeGO »

Hmm... that's an interesting bug. I haven't been able to reproduce it across several desktops, laptops, tablets, and Android smartphones. I still have to try testing on an iPhone.

It's quite strange since the SVG rendering is clearing working, clicking on the buttons is working (since you were able to rotate through coordinate schemes), and the hover listener is working (since the translucent hover effect appears). However, the simple click isn't registering appropriately.

Do you happen to know which specific versions of the mobile browsers you are using?

Does anyone else on this forum have an iPhone 4S and can confirm?
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re: BesoGo: yet another web-based SGF editor

Post by YeGO »

Seems like this is an iPhone specific issue, since the iPhone raises "touch" events rather than "click" events.

Looks like there is a fairly simple fix:
http://stackoverflow.com/questions/3705 ... one-jquery
https://developer.apple.com/library/ios ... vents.html

I'll make the changes to the code later.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi YeGo,

Thanks! :)
YeGO
Dies with sente
Posts: 82
Joined: Mon Feb 23, 2015 8:41 pm
GD Posts: 0
Has thanked: 19 times
Been thanked: 46 times

Re: BesoGo: yet another web-based SGF editor

Post by YeGO »

Just made some minor changes. Hopefully that fixes the issue for iOS devices.
Post Reply