Life In 19x19
http://www.lifein19x19.com/

GoKibitz Alpha
http://www.lifein19x19.com/viewtopic.php?f=9&t=11291
Page 1 of 2

Author:  cloudbrows [ Wed Dec 31, 2014 12:40 pm ]
Post subject:  GoKibitz Alpha

http://gokibitz.com

I've been working on a go app for over half a year, now, though the project evolved from a project that was even older. Like most projects, getting the last 20% done has been the hardest part, and I promised a friend of mine that I would get the alpha launched before 2014 came to an end. So here we are, with hours to spare!

GoKibitz is an app for having conversations about game records. It's hard to have a back-and-forth with other go players about game records if you're not both connected to a server like KGS at the same time. If you're leaving a comment on a blog, or giving feedback to a game posted on a forum like this one, you're stuck awkwardly pointing out moves by number.

GoKibitz lets you review games and have a comment thread on every move.

I'd really be grateful for anyone that would like to take the time to check it out and use it. This is an alpha, not a beta, because there are still some pretty major issues, and it hasn't been QA'd by anyone but me.

I'd also like to thank Lucas, creator of http://goban.co for some much-needed encouragement a little while ago.

Happy New Year!

Author:  skydyr [ Wed Dec 31, 2014 1:33 pm ]
Post subject:  Re: GoKibitz Alpha

This looks promising so far. Do you have plans to allow variations to be inserted and commented SGFs to be exported, by any chance? It would also be nice to be able to navigate to the next comment.

In addition, when I am logged in, I am no longer able to find the public records, as the search defaults to your games.

Author:  cloudbrows [ Wed Dec 31, 2014 2:06 pm ]
Post subject:  Re: GoKibitz Alpha

Inserting variations is definitely something I'd like to make happen, though I haven't figured out exactly how I'll do it. (Making the WGo player, which I use for showing the game, aware of the changes and reloading is the potentially tricky part.)

Allowing commented SGFs to be exported is also on my list, and that shouldn't be a problem.

Navigating to the next comment isn't something I'd thought of, which is why it's great to get someone else's thoughts. That shouldn't be a problem, either.

I'll also put in a way to search all games even after you're logged in.

Thanks for checking it out!

Author:  Bantari [ Thu Jan 01, 2015 3:43 am ]
Post subject:  Re: GoKibitz Alpha

cloudbrows wrote:
http://gokibitz.com

I've been working on a go app for over half a year, now, though the project evolved from a project that was even older. Like most projects, getting the last 20% done has been the hardest part, and I promised a friend of mine that I would get the alpha launched before 2014 came to an end. So here we are, with hours to spare!

GoKibitz is an app for having conversations about game records. It's hard to have a back-and-forth with other go players about game records if you're not both connected to a server like KGS at the same time. If you're leaving a comment on a blog, or giving feedback to a game posted on a forum like this one, you're stuck awkwardly pointing out moves by number.

GoKibitz lets you review games and have a comment thread on every move.

I'd really be grateful for anyone that would like to take the time to check it out and use it. This is an alpha, not a beta, because there are still some pretty major issues, and it hasn't been QA'd by anyone but me.

I'd also like to thank Lucas, creator of http://goban.co for some much-needed encouragement a little while ago.

Happy New Year!

I really love the idea!
I think this is really really useful.

Author:  cornucopia [ Thu Jan 01, 2015 3:46 am ]
Post subject:  Re: GoKibitz Alpha

I really think this idea/app has a lot of potential! I'm certainly going to check this one out.

Author:  cloudbrows [ Thu Jan 01, 2015 9:57 am ]
Post subject:  Re: GoKibitz Alpha

Thanks, folks! If you get a chance to try it out, be sure to let me know what things work well for you and what things don't.

Author:  cloudbrows [ Sat Jan 03, 2015 12:36 pm ]
Post subject:  Re: GoKibitz Alpha

Just a couple updates:

You can follow me on Twitter to get regular updates about changes to GoKibitz.

GoKibitz is now officially open source. Check us out on Github.

Author:  moboy78 [ Sat Jan 03, 2015 7:31 pm ]
Post subject:  Re: GoKibitz Alpha

One feature I would like to see added, if at all possible, is a way to see what rank two players are when you're browsing through a list of sgf files. So far Gokibitz looks great though! Keep up the good work!

Author:  cloudbrows [ Sat Jan 03, 2015 10:26 pm ]
Post subject:  Re: GoKibitz Alpha

Thanks for the feature request, my friend! I've added player ranks to the kifu list at http://gokibitz.com/kifu.

Image

Author:  pitirre [ Sun Jan 04, 2015 4:42 am ]
Post subject:  Re: GoKibitz Alpha

A nice feature is a notification when people commented in your games (especially the move) or games you have commented

Author:  oca [ Sun Jan 04, 2015 5:54 am ]
Post subject:  Re: GoKibitz Alpha

Hi, I just uploaded a game of mine, directly downloaded from IGS pandanet, but the players seems not to be found, both players are shown as "Anonymous"...
the upload sgf contains the player information like that :
Code:
...
PW[Saute]WR[13k ]NW[16]
PB[oca]BR[13k ]NB[16]
...


the game is here : http://gokibitz.com/kifu/7JbW1_oX

and... if anyone want to comment that game... that's very welcome of course ;) I won that game by resignation, but I think I was not that much ahead... (I'm black)

Author:  cloudbrows [ Sun Jan 04, 2015 7:59 am ]
Post subject:  Re: GoKibitz Alpha

pitirre wrote:
A nice feature is a notification when people commented in your games (especially the move) or games you have commented


I agree that'd be a useful feature. I'll see if I can get something for you soon! :)

Author:  cloudbrows [ Sun Jan 04, 2015 8:00 am ]
Post subject:  Re: GoKibitz Alpha

oca wrote:
Hi, I just uploaded a game of mine, directly downloaded from IGS pandanet, but the players seems not to be found, both players are shown as "Anonymous"...
the upload sgf contains the player information like that :
Code:
...
PW[Saute]WR[13k ]NW[16]
PB[oca]BR[13k ]NB[16]
...


the game is here : http://gokibitz.com/kifu/7JbW1_oX

and... if anyone want to comment that game... that's very welcome of course ;) I won that game by resignation, but I think I was not that much ahead... (I'm black)


I just saw that this morning and am a little confused: it doesn't seem to be affecting other games, so I'm wondering if it's a unique feature of the game you uploaded.

I did make a change last night that involved player name / rank display, so my first thought was that I'd introduced a bug, which is still a possibility, I guess. Anyway, I'll check it out!

Author:  oca [ Sun Jan 04, 2015 9:13 am ]
Post subject:  Re: GoKibitz Alpha

cloudbrows wrote:
oca wrote:
Hi, I just uploaded a game of mine, directly downloaded from IGS pandanet, but the players seems not to be found, both players are shown as "Anonymous"...
the upload sgf contains the player information like that :
Code:
...
PW[Saute]WR[13k ]NW[16]
PB[oca]BR[13k ]NB[16]
...


the game is here : http://gokibitz.com/kifu/7JbW1_oX

and... if anyone want to comment that game... that's very welcome of course ;) I won that game by resignation, but I think I was not that much ahead... (I'm black)


I just saw that this morning and am a little confused: it doesn't seem to be affecting other games, so I'm wondering if it's a unique feature of the game you uploaded.

I did make a change last night that involved player name / rank display, so my first thought was that I'd introduced a bug, which is still a possibility, I guess. Anyway, I'll check it out!


Just for information, on the kifu list, the name of the players are displayed correctly.

BTW : Great App !

[edit]I just attached here sgf I uploaded[/sgf]

Attachments:
VHYTUEHSOV.sgf [2.79 KiB]
Downloaded 464 times

Author:  pitirre [ Sun Jan 04, 2015 9:27 am ]
Post subject:  Re: GoKibitz Alpha

how about the option to give a title to a game? sometimes a good title can attract reviewers

Author:  cloudbrows [ Sun Jan 04, 2015 11:33 am ]
Post subject:  Re: GoKibitz Alpha

oca wrote:
cloudbrows wrote:
oca wrote:
Hi, I just uploaded a game of mine, directly downloaded from IGS pandanet, but the players seems not to be found, both players are shown as "Anonymous"...
the upload sgf contains the player information like that :
Code:
...
PW[Saute]WR[13k ]NW[16]
PB[oca]BR[13k ]NB[16]
...


the game is here : http://gokibitz.com/kifu/7JbW1_oX

and... if anyone want to comment that game... that's very welcome of course ;) I won that game by resignation, but I think I was not that much ahead... (I'm black)


I just saw that this morning and am a little confused: it doesn't seem to be affecting other games, so I'm wondering if it's a unique feature of the game you uploaded.

I did make a change last night that involved player name / rank display, so my first thought was that I'd introduced a bug, which is still a possibility, I guess. Anyway, I'll check it out!



[edit]I just attached here sgf I uploaded[/sgf]


Thanks for submitting the sgf! Luckily I can grab the raw SGF for any uploaded game, so I can try to troubleshoot when things go wrong. I've got a ticket in for your issue. https://github.com/neagle/gokibitz/issues/6

oca wrote:
Just for information, on the kifu list, the name of the players are displayed correctly.


Yeah, those names get parsed in two different ways, which is why one works and one doesn't. One comes from my own db models (the kifu list) and the other from the WGo player (the game view itself).

oca wrote:
BTW : Great App !


Thanks very much for saying so!

Author:  cloudbrows [ Sun Jan 04, 2015 11:35 am ]
Post subject:  Re: GoKibitz Alpha

pitirre wrote:
how about the option to give a title to a game? sometimes a good title can attract reviewers


That's a cool idea; it's not something I had thought of. Let me add it as a feature request. It shouldn't be too hard.

https://github.com/neagle/gokibitz/issues/7

Author:  oca [ Mon Jan 05, 2015 2:33 am ]
Post subject:  Re: GoKibitz Alpha

cloudbrows wrote:
...
I've got a ticket in for your issue. https://github.com/neagle/gokibitz/issues/6

oca wrote:
Just for information, on the kifu list, the name of the players are displayed correctly.


Yeah, those names get parsed in two different ways, which is why one works and one doesn't. One comes from my own db models (the kifu list) and the other from the WGo player (the game view itself).
...


I just found the cause of the problem :

The sgf contains a 'CoPyright' property that WGo cannot parse.
So the problem is not in your code. I suppose it's not even in WGo's code as property in SGF must be 2 uppercase letters (http://www.red-bean.com/sgf/sgf4.html) so the correct value must be just 'CP' in this case...

The code I used for my test :

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>View</title>
   <script type="text/javascript" src="../lib/ext/wgo/wgo.min.js"></script>
   <script type="text/javascript" src="../lib/ext/wgo/kifu.js"></script>
   <script type="text/javascript" src="../lib/ext/wgo/sgfparser.js"></script>
</head>
<body>
   See messages in the console.
   
   <script>
      var sgf_KO = "(;\
GM[1]EV[Internet Go Server game: Saute vs oca]\
US[Brought to you by IGS PANDANET]\
CoPyright[\
  Copyright (c) PANDANET Inc. 2015\
  Permission to reproduce this game is given, provided proper credit is given.\
  No warrantee, implied or explicit, is understood.\
  Use of this game is an understanding and agreement of this notice.\
]\
GN[Saute-oca(B) IGS]RE[B+Resign]\
PW[Saute]WR[13k ]NW[16]\
PB[oca]BR[13k ]NB[16]\
PC[IGS:  igs.joyjoy.net 6969]DT[2015-01-04]\
SZ[19]TM[600]KM[6.500000]LT[]\
RR[Normal])"

var sgf_OK = "(;\
GM[1]EV[Internet Go Server game: Saute vs oca]\
US[Brought to you by IGS PANDANET]\
CP[\
  Copyright (c) PANDANET Inc. 2015\
  Permission to reproduce this game is given, provided proper credit is given.\
  No warrantee, implied or explicit, is understood.\
  Use of this game is an understanding and agreement of this notice.\
]\
GN[Saute-oca(B) IGS]RE[B+Resign]\
PW[Saute]WR[13k ]NW[16]\
PB[oca]BR[13k ]NB[16]\
PC[IGS:  igs.joyjoy.net 6969]DT[2015-01-04]\
SZ[19]TM[600]KM[6.500000]LT[]\
RR[Normal])"
      
      var kifu;
      console.log("Not working, due to the 'CoPyright' tag")
      kifu = WGo.Kifu.fromSgf(sgf_KO);
      console.log(JSON.stringify(kifu.info));
      
      console.log("Working, as I changed 'CoPyright' to two letters tag 'CP'")
      kifu = WGo.Kifu.fromSgf(sgf_OK);
      console.log(JSON.stringify(kifu.info));      
   </script>
</body>

</html>

Author:  cloudbrows [ Mon Jan 05, 2015 8:34 am ]
Post subject:  Re: GoKibitz Alpha

Ah ha! Thanks for checking into that: it doesn't get any better than someone solving a bug for you. :clap:

It also clarifies why the listing page could still find the player names: to get those properties I'm using a simple regexp to grab exactly the property I'm looking for, rather than parsing the SGF entirely.

I'm be tempted to try to submit a pull request to WGo.js so that it could still handle this issue, but Pandanet's "CoPyright" property does go flatly against the spec: http://www.red-bean.com/sgf/sgf4.html#2.2

Author:  oca [ Mon Jan 05, 2015 8:59 am ]
Post subject:  Re: GoKibitz Alpha

cloudbrows wrote:
Ah ha! Thanks for checking into that: it doesn't get any better than someone solving a bug for you. :clap:
It also clarifies why the listing page could still find the player names: to get those properties I'm using a simple regexp to grab exactly the property I'm looking for, rather than parsing the SGF entirely.

I'm be tempted to try to submit a pull request to WGo.js so that it could still handle this issue, but Pandanet's "CoPyright" property does go flatly against the spec: http://www.red-bean.com/sgf/sgf4.html#2.2


Thanks, I tried to dowload the project on github and to make it work on my computer and I'm not that far...
the only thing that I cannot get to work is styling... all css seems to be missing... but that's not really a surprise as I have an error when using gulp... any idea what could be wrong ?
Code:
C:\Users\oca\Desktop\my\gokibitz-master-oca>gulp
[16:57:16] Using gulpfile ~\Desktop\my\gokibitz-master-oca\gulpfile.js
[16:57:16] Starting 'lint-server-js'...
[16:57:16] Starting 'sass-includes'...
[16:57:16] Finished 'sass-includes' after 2.57 ms
[16:57:16] Starting 'sass'...
[16:57:16] Starting 'browserify'...
[16:57:16] Bundling app.js...
[16:57:16] Starting 'fonts'...
[16:57:16] Starting 'js-assets'...
[16:57:16] Starting 'images'...
[16:57:16] Starting 'bootstrap-assets'...
[16:57:17] [gulp-sass] C:\Users\oca\Desktop\my\gokibitz-master-oca\client\src\sc
ss/lib/gokibitz:1: invalid top-level expression

[16:57:17] Finished 'sass' after 298 ms
[16:57:17] Finished 'js-assets' after 267 ms
[16:57:17] Finished 'bootstrap-assets' after 942 ms
[16:57:18] Finished 'lint-server-js' after 1.76 s
[16:57:29] Bundled app.js in 12 s
[16:57:29] Finished 'browserify' after 12 s
[16:57:29] Finished 'fonts' after 12 s
[16:57:29] gulp-imagemin: Minified 0 images
[16:57:29] Finished 'images' after 12 s
[16:57:29] Starting 'default'...
[16:57:29] Finished 'default' after 28 µs

Page 1 of 2 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/