It is currently Thu Oct 31, 2024 3:46 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
Offline
 Post subject: New and improved SGF viewer at Go4Go.net
Post #1 Posted: Thu Jul 04, 2013 5:08 am 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
I have just put online a newly created SGF viewer at Go4Go.net. This has replaced the very old and broken Java-based viewer and provides some additional functions (such as generating diagram code). You can still choose to use the Eidogo player if you prefer.


Attachments:
screen3.png
screen3.png [ 68.33 KiB | Viewed 6487 times ]

This post by macelee was liked by: anoek
Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #2 Posted: Thu Jul 04, 2013 6:37 am 
Lives with ko

Posts: 149
Location: Belgrade, Serbia
Liked others: 12
Was liked: 28
Rank: KGS 7 kyu
KGS: Vladimir
Maybe it's just me, but I have one sugestion.
Make sizes of stones such that they touch each other. As it is now, there's a very little part of a line that can be seen between stones but that hurts eyes.
Just my opinion...
Cheers

Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #3 Posted: Thu Jul 04, 2013 7:36 am 
Lives in sente
User avatar

Posts: 773
Location: Michigan, USA
Liked others: 143
Was liked: 218
Rank: KGS 1 kyu
Universal go server handle: moyoaji
That diagram code feature is fantastic. Now I'll be able to easily make references to professional games.

_________________
"You have to walk before you can run. Black 1 was a walking move.
I blushed inwardly to recall the ignorant thoughts that had gone through
my mind before, when I had not realized the true worth of Black 1."

-Kageyama Toshiro on proper moves

Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #4 Posted: Thu Jul 04, 2013 12:43 pm 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
vpopovic wrote:
Maybe it's just me, but I have one sugestion.
Make sizes of stones such that they touch each other. As it is now, there's a very little part of a line that can be seen between stones but that hurts eyes.
Just my opinion...
Cheers


Interesting point. I checked a large number of Go software to see how other people handling this. There are two possibilities. The first follows what you suggested - to have bigger stones touching each other (for example that is what cgoban2 does). The second is to remove the little part of the line between stones, which in my opinion makes the whole thing looks less real (for example see the screen capture of Multigo).
Attachment:
multigo.png
multigo.png [ 10.88 KiB | Viewed 6416 times ]

There are other software just doing what I have done (such as Drago and a few IOS/android applications I checked). I am not sure what is the best practice.

Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #5 Posted: Thu Jul 04, 2013 12:51 pm 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
moyoaji wrote:
That diagram code feature is fantastic. Now I'll be able to easily make references to professional games.


I am happy this is useful. In a separate thread (viewtopic.php?f=18&t=8124&start=60) we are discussing integrating my site with a diagram editor, which would make this more convenient.

Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #6 Posted: Thu Jul 04, 2013 1:10 pm 
Beginner

Posts: 17
Location: Finland
Liked others: 3
Was liked: 5
Rank: EGF 2 dan
The lines look too thick and distracting to me. How about changing lineWidth from 2 to 1? (You also need to add .5 to the moveTo and lineTo coordinates.)


Attachments:
sgfboard.png
sgfboard.png [ 97.66 KiB | Viewed 6410 times ]

This post by jlaire was liked by: macelee
Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #7 Posted: Thu Jul 04, 2013 2:14 pm 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
jlaire wrote:
The lines look too thick and distracting to me. How about changing lineWidth from 2 to 1? (You also need to add .5 to the moveTo and lineTo coordinates.)


Thanks for the +0.5 trick! I changed the line thickness and it looks much nicer now. I also needed to adjust the stones and hoshi points so that they center properly. Also fixed a few small bugs.

Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #8 Posted: Sun Jul 21, 2013 1:05 am 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
I've made further improvement to the SGF viewer and related web pages. Now it is possible to jump to a specified move when loading the SGF viewer.

An example how this can be useful:

Please guess Lee Changho's next move - how to attack the black stone D10? (and the diagram below is generated using the 'diagram code' function on Go4Go website)

Click Here To Show Diagram Code
[go]$$Bc Luo Xihe 9p (Black) vs. Lee Changho 9p
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . X X X . . . . . . . . . . . . . |
$$ | . X X . O X O O . . . . . . . . . . . |
$$ | . O . O . O X . . , . . . . . X . . . |
$$ | . . . . . . O . . . . . . . . . . . . |
$$ | . . O . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . X . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . O . . . . . . . . . . . . . . . . |
$$ | . O O . . . . . . . . . . . . . . . . |
$$ | . X X O O O O . . , . . . . . , X . . |
$$ | . X . X O X X O . . . . . . X . . . . |
$$ | 1 O . X X X O . O . . . . . . . . . . |
$$ | . . . . . . . O . . . . . . . . . . . |
$$ +---------------------------------------+[/go]


And here the (rather shocking) answer: http://www.go4go.net/go/games/sgfview/10178/44

This example shows that the desired move number (44) can be simply appended to the game URL. (Note this does not apply to the Eidogo player embedded in Go4Go, please make sure to switch to the Go4Go player).

This is nothing sophisticated, but it forms the basis of other future functions like pattern search.


This post by macelee was liked by: anoek
Top
 Profile  
 
Offline
 Post subject: Re: New and improved SGF viewer at Go4Go.net
Post #9 Posted: Sun Jul 21, 2013 4:33 am 
Dies with sente

Posts: 78
Liked others: 10
Was liked: 33
Rank: 9k
Universal go server handle: dfunkt
Very nice. I also like the thinner lines. Good work :)

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group