pasky / pachi

A fairly strong Go/Baduk/Weiqi playing program
http://pachi.or.cz/
GNU General Public License v2.0
514 stars 117 forks source link

GoGui gfx analyze commands #14

Closed lemonsqueeze closed 8 years ago

lemonsqueeze commented 8 years ago

Hi,

I finally got to play with GoGui gfx commands. Here's what I got so far, hopefully i've hooked things in the right places.

This is heavily inspired from michi-c2's use of GoGui analyze commands.

Commands can be accessed from GoGui's analyze window. So far it supports:

Some of these can also be used as live gfx to see what's going on while pachi is thinking, have to admit this looks very very cool ! (GoGui must be able to see pachi's stderr for this to work)

Only uct engine is supported atm. I'll post some screenshots tomorrow.

Cheers

lemonsqueeze commented 8 years ago

Best Moves: pachi_best_moves

Best Sequence: pachi_best_sequence

Winrates: pachi_winrates

Owner Map: pachi_ownermap

Analyze Window: gogui_analyze

pasky commented 8 years ago

Ooh, love it! Thanks for contributing this, it's been very long overdue. :)

Just a note that for visualizing next good moves, some combination of #visits + value would be better (maybe visualizing the #visits as squares as in mici-c2). But I don't know if you can even show two types of marks at once...

lemonsqueeze commented 8 years ago

I guess i'm confused, I just translated uct_progress_text() into gfx commands and it seems it just uses #visits to sort the best moves. Are you saying Pachi's actually using a combination of winrates + #visits internally ? Or that for debugging purposes it'd useful to see winrates info as well ? We could have both, gfx commands stack up no problem...

pasky commented 8 years ago

AIUI right now we just use winrates for GFX now (based also on the image you included), and I proposed to show also #visits. Am I confused? :)

lemonsqueeze commented 8 years ago

Ah ok, you meant to add visit count info to the "Winrates" one, right ? I thought we were talking about the "Best Moves" one...

pasky commented 8 years ago

No, sorry, that comment was just about the winrates view.