ZBaduk - LeeLa Zero and KataGo from your webbrowser

Tell the community about tournaments, new go sites, software updates, etc.
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

Jæja wrote:There seems to be a bug with the OGS game loader. The interface is showing [object Object] (see screenshot)
Thank you for providing this screenshot.

The yellow-zone indicates an error message, but in this case the error message isn't displayed correctly.
I just installed a fix, which renders this type of error messages correctly.

In some cases the error message can be "Unknown Error" though.
e.g. when there simply isn't a succesful connection to the OGS rest services.
(e.g. wifi no longer connected)

(Note: There are some other minor fixes in this release as well)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

People often ask me, how the "Teaching mode" of the bot works.

It's not a secret.
If you press "F12" while playing the bot, the "debug console" of your browser will actually reveal a lot.
console.jpg
console.jpg (122.68 KiB) Viewed 15236 times
(typo: mvoes = move)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Jæja
Dies in gote
Posts: 61
Joined: Thu Oct 31, 2019 2:42 am
GD Posts: 0
Universal go server handle: Jæja
Has thanked: 12 times
Been thanked: 18 times

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by Jæja »

spook wrote:
Jæja wrote:There seems to be a bug with the OGS game loader. The interface is showing [object Object] (see screenshot)
The yellow-zone indicates an error message, but in this case the error message isn't displayed correctly.
I just installed a fix, which renders this type of error messages correctly.

In some cases the error message can be "Unknown Error" though.
e.g. when there simply isn't a succesful connection to the OGS rest services.
(e.g. wifi no longer connected)
I did some more digging and found the following:

I have a Chrome extension installed called "Privacy Badger". It's blocking the GET request to the OGS REST API, resulting in the following error in de Javascript console:

Code: Select all

GET https://online-go.com/api/v1/players/?username=Monoqle net::ERR_BLOCKED_BY_CLIENT
If I disable the plugin, the game fetching from OGS works fine.
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

Jæja wrote: I did some more digging and found the following:
I have a Chrome extension installed called "Privacy Badger". It's blocking the GET request to the OGS REST API, resulting in the following error in de Javascript console:

Code: Select all

GET https://online-go.com/api/v1/players/?username=Monoqle net::ERR_BLOCKED_BY_CLIENT
If I disable the plugin, the game fetching from OGS works fine.
I must admit, that I feared a little for this. Web browsers are really protective these days, which in some cases is a good thing.
If I want to program around this, I should let the zbaduk server perform the query and then forward those results.
I will see what I can do there.

Anyway, thank you for communicating this back.
It's really helpful, and I wasn't aware of it yet.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

I did a couple of releases in the last week, containing the following features:

- if you continue play after an undo, that new branch of the move tree is always promoted to the top and becomes the main line.
- and some huge client-side performance tweaks.
- an advanced connection button for bot-games, which allows you to select the server, bot, komi and ruleset.
connectscreen.jpg
connectscreen.jpg (77.22 KiB) Viewed 15171 times
Coming up next,
Our roadmap for the front-end:
- Korean, Chinese and Japanese is still a priority, still in desperate need of translators !
- Public sharing of game reviews doesn't feel "finished" yet. There should be a guest mode.
- I would love to have people enter their OGS account name in their account settings,
so that it can be entered by default when they import OGS games.
- And it should be able to define a handicap when starting a game review from scratch.
- Continued work on back-end performance (using KPI rating systems for GPU servers),
and if that does not help, seriously considering a server migrating for the 2nd half of June.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Jæja
Dies in gote
Posts: 61
Joined: Thu Oct 31, 2019 2:42 am
GD Posts: 0
Universal go server handle: Jæja
Has thanked: 12 times
Been thanked: 18 times

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by Jæja »

I have two suggestions:
  1. It would be nice to have an option to set a default engine. Currently I have to configure the engine each time I open ZBaduk to use KataGo with 6.5 komi and Japanese rules.
  2. Deeper analyses. It would be great if variations could be produced similarly to OGS. I really like that they instantly show an 'optimal' variation (15 moves deep?) for considered moves. Perhaps the needed statistics are already in ZBaduk, but it's more an improvement of the UI?
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

Marcel Grünauer wrote:Hello,
thank you for ZBaduk; it's really wonderful to be able to analyze games on a laptop without a good GPU.
I've only started to use it but was wondering - what is the difference between a free account and a membership account?
(Sorry if I overlooked it...)
It's a good question, and will add some info about this in the near future.

- Guests are intentionally disconnected every x minutes.
- Paying users are only disconnected when they are idle for a really long time.
- The loadbalancer will schedule paying users to the server with most available resources.

In all honesty, I sometimes have the feeling that there are not enough differences as for now.
(which may be just a personal opinion).
Anyway, there will be more services coming up, aimed for paying users.
More about this soon ! :)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

It's been a while since the last update.
(due to several reasons)

Anyway, there is a slightly "experimental" build of ZBaduk's front-end available on:
https://www.zbaduk.com/next/

It uses the same servers, and from a functional point of view, there shouldn't be any changes.
However >20% of code has been rewritten, in an attempt to make the website load faster,
and to make it respond faster to clicks. (It won't calculate faster though).

This was a critical milestone, and it took a bit longer than expected.
If all goes well, then next there will be some releases of new features soon.

However, if you do experience performance issues, do not hesitate to e-mail them to:
zbaduk361@gmail.com

Thank you !
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Jæja
Dies in gote
Posts: 61
Joined: Thu Oct 31, 2019 2:42 am
GD Posts: 0
Universal go server handle: Jæja
Has thanked: 12 times
Been thanked: 18 times

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by Jæja »

Congratulations on the major update, spook :clap:

When I click the 'Next move' button, the move count updates (e.g. from 'Move 1' to 'Move 2'), but all of the other functionalities aren't affected. For example, the move isn't displayed on the board and the cursor in the game tree isn't updated (see attached screenshot).
Screenshot 2020-06-15 at 10.15.30.png
Screenshot 2020-06-15 at 10.15.30.png (457.48 KiB) Viewed 14773 times
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

Jæja wrote:When I click the 'Next move' button, the move count updates (e.g. from 'Move 1' to 'Move 2'), ... the move isn't displayed on the board and the cursor in the game tree isn't updated
Thank you for your feedback.
I just installed a small fix for it. :)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Maharani
Lives with ko
Posts: 251
Joined: Wed Oct 09, 2019 9:47 am
Rank: OGS 9 kyu
GD Posts: 0
OGS: Maharani
Location: Pasadena, USA
Has thanked: 80 times
Been thanked: 12 times

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by Maharani »

Any chance to add the newest Kata net soon? :)
y501
Beginner
Posts: 4
Joined: Fri Feb 21, 2020 4:14 am
GD Posts: 0

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by y501 »

Hi, after using it for free for months I finally bought a subscription yesterday. I have a few questions:

-Is there any way to do a "soft" click on a move not considered by KataGo so I could get the win rate or score for that move?
Image
-Is it possible to show the impact of the last move on the score here?
Image
-Is it possible to set a playout limit when using "Analyze this"? I don´t think I need more than 1000-1500 most of the time.
Maharani
Lives with ko
Posts: 251
Joined: Wed Oct 09, 2019 9:47 am
Rank: OGS 9 kyu
GD Posts: 0
OGS: Maharani
Location: Pasadena, USA
Has thanked: 80 times
Been thanked: 12 times

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by Maharani »

I'm getting a "game could not be saved" glitch in a game I game I'm currently playing. As a side effect from this, the game's previous saved state has been overwritten with a blank board. Any chance I could save this game (including the stats, not just the move sequence) while I still have it open?

EDIT: I wasn't able to even load the game anymore and deleted it. Two days' progress gone :/

EDIT 2: And I'm still unable to save new games.
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

@Maharani
I will look at this straightaway.

@y501
Sorry for not reacting earlier. I will add some of your suggestions in a future release. (i.e. the score diff)

For Leela Zero it will also analyze the moves which you played yourself even if it's not a Leela Zero candidaye move. KataGo does not have this feature unfortunately. Last time I checked KataGo itself just didn't support it.

Playout limits aren't supported yet.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

@Maharani
The save-file problem should be fixed. With apologies for the inconveniences.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Post Reply