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

Html5 Go Board
http://www.lifein19x19.com/viewtopic.php?f=18&t=11239
Page 7 of 7

Author:  KOCMOHABT [ Sun May 29, 2016 8:51 am ]
Post subject:  Re: Html5 Go Board

version 0.10.8 (webgoboard.com / Chrome / FF / WordPress)

Added score estimating result in SE-window.
Image

Fixed serveral bugs with session restore in the extensions (bug with focus and bug with Home-node)
Fixed bug with no sound.
Fixed bad links pointed to the site http://webgoboard.com
Added a new kifu-mode (a guess mode in other words):
Turn it on panel Image
U will see 2 new buttons Image
The right button is for turning this mode on/off. The left one is for showing kifu of the current variant. Here is an example how it looks like
Image
.
This mode is working only with the main variant of the game tree (u can reorder all variants so current variant will be the main by the hotkey Ctrl+Shift+M). This mode with kifu-window is something like game review for real board.

PS: Now I will focus on the development of a new KGS-client.

Author:  KOCMOHABT [ Wed Jun 08, 2016 2:08 am ]
Post subject:  Re: Html5 Go Board

Cheers guys! More than 1000 users of WebGoBoard.
Image

:clap: :clap: :clap: :D :D

Author:  Bonobo [ Sat Jun 18, 2016 5:57 am ]
Post subject:  Re: Html5 Go Board

KOCMOHABT wrote:
[..]

PS: Now I will focus on the development of a new KGS-client.

Looks interesting :-) Are you going to make an extra thread for GoUniverse? I’d recommend that …

<edit>

LOL, you already did that, just today :-D

</edit>


Author:  ez4u [ Sun Dec 04, 2016 6:32 am ]
Post subject:  Re: Html5 Go Board

I just encountered a bug in the generation of ascii diagrams. See the screenshot below, the diagram is generated incorrectly from the board position. The diagram incorrectly numbers the moves with 1 in the board position as 0, 2 as 1, 3 as 2, etc. and with the move indicator set to 0 in the upper left of the diagram ($$bcm2 should be $$Wcm1).
Attachment:
Diagram bug 2016-12-04_21-48-35.jpg
Diagram bug 2016-12-04_21-48-35.jpg [ 277.53 KiB | Viewed 5859 times ]

Author:  KOCMOHABT [ Tue Oct 03, 2017 2:32 pm ]
Post subject:  Re: Html5 Go Board

Version 0.10.9

Fixed bug with rendering the board and the stones on the lastest versions of Chrome.
The bug was looking like that Image

Also improved perfomance of the rendering.

Author:  jokkebk [ Thu Oct 12, 2017 5:23 am ]
Post subject:  Re: Html5 Go Board

Very cool. Also very snappy, congrats. I made a HTML5 canvas Go Board a couple of years ago as well:

http://jgoboard.com/

It's mainly for use with JavaScript and I haven't done SGF editing or other functionalities, and knowing my current freetime it might be likely I never will. The graphics for jGoBoard are available for CC (non-commercial) license, if you're looking for additional textures. :)

Too bad that the HTML5 canvas implementation is somewhat buggy in Chrome, I've encountered several issues over the years where there's nothing wrong with the code, but it still shows artifacts.

Joonas

Author:  goPlayerJuggler [ Sun Dec 24, 2017 6:05 pm ]
Post subject:  Feature request: API has an event: onGameTreeModified

Great work KOCMOHABT!

I've been using the firefox plugin for a few years now; it's been very handy.

Anyway I'm writing because I've hooked up your Go Board to some other code I've written for Toroidal Go. It's working pretty well. Here are some samples:
- a viewer
- a blog post

Next I would like to see about building on this so as to be able to play toroidal Go. And also edit games (variations, annotations, ...).

So I have a (fairly small) feature request (edited 2017-12-26): could CGoBoardApi be extended so as to expose an event called onGameTreeModified? The event would be raised after a modification is made to the game tree (new move/marked stone; but not for an updated comment) and after CGoBoardApi has finished its work related to that.

Here's my plan: when the onGameTreeModified event is raised, my code will get the updated SGF and then make changes so it "works" for toroidal Go. I think I need to add an inverse transformation function to my go-variants-transformer module, but I won't go into details here.

With just that, I think I should be able to build on your Go Board so it works as an editor for Toroidal Go too. It should be pretty nice! :)

Could you let me know what you think?

Thanks!

Best regards
Malcolm

Author:  goPlayerJuggler [ Thu Dec 28, 2017 3:38 pm ]
Post subject:  second feature request: doNotCountLiberties

Second feature request: could a setting doNotCountLiberties be added? When doNotCountLiberties===true, then no stones would ever be removed by the go board after a move. Stones would only be removed when there are AE (add empty) nodes in the input SGF.

I think having this setting would help improve the integration my software for Toroidal Go.
Thanks

Edit (2018-01-16): Please disregard these requests and instead see the issue I created on github.

Author:  KOCMOHABT [ Sun Mar 04, 2018 8:55 am ]
Post subject:  Re: Html5 Go Board

Version 0.10.11

Ctrl + Insert - a new hotkey for adding an empty node.

The main change is for the library itself, mostly the api-functions that Malcolm asked about.

Author:  lambic [ Tue Dec 22, 2020 3:31 pm ]
Post subject:  Re: Html5 Go Board

Hello, really a great program !

I have a few questions :
- How can I start the board with coordinates activated by default ?
- How can I start the board with a SGF file loaded by default ?
- Is it a way to localize the menus (other than modifying all the .js) ?
- Is it a way to cut and copy nodes and their tree branch like cgoban does ? (or maybe in the future)

Thank you.
Lambic

Author:  KOCMOHABT [ Thu Jan 07, 2021 6:19 am ]
Post subject:  Re: Html5 Go Board

Quote:
- How can I start the board with coordinates activated by default ?
- How can I start the board with a SGF file loaded by default ?


The Board is saving the last state. This means that when you close a tab with the board or the entire browser, the program will store the current state of the board including coordinates and sgf.

Perhaps this is not what you need, i can add an option for loading empty board/last board state/preloaded sgf and same option for coordinates.

Quote:
- Is it a way to localize the menus (other than modifying all the .js) ?


You can try to use localization files from GoUniverse.

Quote:
- Is it a way to cut and copy nodes and their tree branch like cgoban does ? (or maybe in the future)

You can simply delete any node, but not cut and copy. I'll take a look how cgoban perform this action.

Author:  lambic [ Thu Jan 07, 2021 10:50 am ]
Post subject:  Re: Html5 Go Board

KOCMOHABT wrote:
Perhaps this is not what you need, i can add an option for loading empty board/last board state/preloaded sgf and same option for coordinates.

I've been meddling with the code since I posted my questions.

So, for coordinates I played with the local storage :
Code:
if (undefined !== window.localStorage) {
  localStorage.setItem("HTMLGoBoardRulers", "1");
}


I wanted to preload a SGF from a link on another page. So, I put the way to the SGF file as a substring in the URL, then used AJAX to load it in the go board.

Code:
var SGF = encodeURI(window.location.search.substring(1));
 
if (SGF) {
  var xmlhttp = new XMLHttpRequest();
  xmlhttp.open("GET", SGF, true);
  xmlhttp.onreadystatechange = function() {
    if(xmlhttp.readyState==4) {
      GoBoardApi.Load_Sgf(oGameTree, xmlhttp.responseText);
    }
  }
xmlhttp.send(null);
}


KOCMOHABT wrote:
You can try to use localization files from GoUniverse.

I didn't think about it. How do you load them ?
I'm afraid I changed everything directly in the code to have it in french :)

KOCMOHABT wrote:
You can simply delete any node, but not cut and copy. I'll take a look how cgoban perform this action.

Cgoban can cut and paste. It's very useful when composing a SGF for a lecture.
Indeed, sometimes a node and all the branch behind are misplaced, you don't want to delete and compose them again elsewhere.

Author:  Bonobo [ Fri Jan 08, 2021 7:56 pm ]
Post subject:  Re: Html5 Go Board

Hello KOCMOHABT, I’m a big fan of this plugin.

But now I switched back to Safari (on macOS) for several reasons, and I find I am missing your Web Go Board.

Would it be possible to load it as a script in, say, Tampermonkey? Or would you release it as a plugin?

I’d be willing to spend something on it, of course, as it is an awesome tool.
If sensibly/decently priced, I’d even accept a subscription model—and expect updates* in turn :) .

________________
* Like … I cannot currently import those GIF animations in Photoshop :-)

Author:  KOCMOHABT [ Sun Jan 10, 2021 2:01 am ]
Post subject:  Re: Html5 Go Board

Hello, Bonobo.

Quote:
Would it be possible to load it as a script in, say, Tampermonkey? Or would you release it as a plugin?


I'm not really familar with Tampermonkey, but if you need to use it just an sgf-editor, then you can simply use this link http://webgoboard.net/19.html

Quote:
I cannot currently import those GIF animations in Photoshop

Is there any error message when you are trying to import GIF?

Author:  rhwocns [ Tue Apr 06, 2021 2:20 am ]
Post subject:  Re: Html5 Go Board

KOCMOHABT wrote:
Update: Added saving to gif format. Current size of browser windows will be used for image and current skin. Ctrl+I - save current variant.


Not current variant. start from the first move 1.
Plz fix it.
only save the current variant move start.

Author:  rhwocns [ Tue Apr 06, 2021 2:27 am ]
Post subject:  Re: Html5 Go Board

I want to ask you politely.
Please display the move number in the current variant.
It is absolutely necessary when create a snapshot.

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