It is currently Tue Apr 20, 2021 10:50 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
Author Message
Offline
 Post subject: Re: Html5 Go Board
Post #121 Posted: Sun May 29, 2016 8:51 am 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
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.


This post by KOCMOHABT was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #122 Posted: Wed Jun 08, 2016 2:08 am 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
Cheers guys! More than 1000 users of WebGoBoard.
Image

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


This post by KOCMOHABT was liked by 3 people: Bonobo, ez4u, sybob
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #123 Posted: Sat Jun 18, 2016 5:57 am 
Oza
User avatar

Posts: 2217
Location: Germany
Liked others: 8216
Was liked: 918
Rank: OGS DDK again
Universal go server handle: trohde
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>


_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)


This post by Bonobo was liked by: KOCMOHABT
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #124 Posted: Sun Dec 04, 2016 6:32 am 
Oza
User avatar

Posts: 2338
Location: Tokyo, Japan
Liked others: 2241
Was liked: 1314
Rank: Jp 6 dan
KGS: ez4u
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 5685 times ]

_________________
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #125 Posted: Tue Oct 03, 2017 2:32 pm 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
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.


This post by KOCMOHABT was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #126 Posted: Thu Oct 12, 2017 5:23 am 
Dies in gote

Posts: 41
Liked others: 2
Was liked: 14
Rank: EGF 1 kyu
KGS: finity
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

Top
 Profile  
 
Offline
 Post subject: Feature request: API has an event: onGameTreeModified
Post #127 Posted: Sun Dec 24, 2017 6:05 pm 
Beginner

Posts: 13
Location: France
Liked others: 17
Was liked: 2
Rank: French 1 dan
KGS: Malcolm
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


This post by goPlayerJuggler was liked by: KOCMOHABT
Top
 Profile  
 
Offline
 Post subject: second feature request: doNotCountLiberties
Post #128 Posted: Thu Dec 28, 2017 3:38 pm 
Beginner

Posts: 13
Location: France
Liked others: 17
Was liked: 2
Rank: French 1 dan
KGS: Malcolm
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.


This post by goPlayerJuggler was liked by: KOCMOHABT
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #129 Posted: Sun Mar 04, 2018 8:55 am 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
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.


This post by KOCMOHABT was liked by 2 people: Bonobo, goPlayerJuggler
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #130 Posted: Tue Dec 22, 2020 3:31 pm 
Beginner

Posts: 6
Liked others: 1
Was liked: 1
Rank: KGS 1k
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

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #131 Posted: Thu Jan 07, 2021 6:19 am 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
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.

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #132 Posted: Thu Jan 07, 2021 10:50 am 
Beginner

Posts: 6
Liked others: 1
Was liked: 1
Rank: KGS 1k
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.

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #133 Posted: Fri Jan 08, 2021 7:56 pm 
Oza
User avatar

Posts: 2217
Location: Germany
Liked others: 8216
Was liked: 918
Rank: OGS DDK again
Universal go server handle: trohde
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 :-)

_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #134 Posted: Sun Jan 10, 2021 2:01 am 
Lives with ko

Posts: 155
Liked others: 124
Was liked: 169
Rank: 4d
KGS: KOCMOHABT
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?

Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #135 Posted: Tue Apr 06, 2021 2:20 am 
Beginner

Posts: 14
Liked others: 0
Was liked: 1
Rank: 3k in a local town
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.


Last edited by rhwocns on Tue Apr 06, 2021 2:42 am, edited 2 times in total.
Top
 Profile  
 
Offline
 Post subject: Re: Html5 Go Board
Post #136 Posted: Tue Apr 06, 2021 2:27 am 
Beginner

Posts: 14
Liked others: 0
Was liked: 1
Rank: 3k in a local town
I want to ask you politely.
Please display the move number in the current variant.
It is absolutely necessary when create a snapshot.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

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