Skip to content

Releases: zsalch/lizzie

Lizzie v0.6+

16 Nov 15:06
Compare
Choose a tag to compare
Lizzie v0.6+ Pre-release
Pre-release

Lizzie v0.6+

This Pre-release is a beta version before related pull request is merged to the official version.

-- updated in 2019-08-18: Some more update and fixed (describe later or view wiki).
-- updated in 2019-07-08: Fixed some issue for sgf parse, engine start & switch, change some description
-- updated in 2019-07-06: Refresh the engine info when change in the ConfigDialog
-- updated in 2019-07-05: Merged the more support the KataGo by @yzyray and @kaorahi, Fixed some the KataGo issues, Allow change the komi, more config option, allow control branch move when mouse over
-- updated in 2019-06-24: Support the KataGo non-square boards (press Ctrl+X to setup), support the KataGo greater than 25x25 board, support pre-load the engine, support view some online go games (press Q and input the game url).
-- updated in 2019-05-17: Fixed performance issue for new Pane UI, Update play against AI, allow continue from current move, Default to turn off the hold winrate in the move (option 'hold-winrate-to-move'), Some Layout Adjust
-- updated in 2019-05-07: Lazy Load Config Dialog, Default Close New UI, Keep Cyan Color as the Best Move, Reduce the board margin, Add Best Move & Branch Limit, Fixed play against 0.17, Press 'L' to toggle lcb & Winrate by @yzyray

To add some new features based on Lizzie 0.6: (:heavy_check_mark: - Merged, :clock9: - Reviewing)

  • 🕘 Fixed sgf tt pass bug
  • 🕘 Fixed play against 0.17
  • 🕘 Double Click the Move to Jump
  • 🕘 More Config Dialog Items
  • 🕘 New UI
  • 🕘 Add the Avoid/Allow Dialog (Alt+A) for the Leela Zero next.
  • 🕘 Fix window position persist issue
  • ✔️ Add Gtp Console Dialog (Press E to toggle and Auto Start if turn on the option 'print-comms')
  • 🕘 Support persisted the window position
  • 🕘 Allow config the Board Position by option 'board-postion-propotion'
  • ✔️ Fixed Clear Board Issue.
  • ✔️ Support Change the Move by shortcut Alt+M.
  • ✔️ Show the visits per second in the title bar.
  • ✔️ Support the remote ssh command line.
  • ✔️ Support more board size and can change by config dialog.
  • ✔️ Add config dialog (engine) and engine wizard: press Ctrl+X to open
  • ✔️ Support replay branch when press key 'R', replay interval by option 'replay-branch-interval-seconds' by @phiming
  • ✔️ Press '[' and ']' to adjust the main board position by @phiming
  • ✔️ Fixed sgf escape char process

New UI:
New UI layout that used multiple independent panes that can be dragged out.
(Press Alt+W to Turn On Design Mode that can be dragged out the Pane and Press Alt+W again to Turn off Design Mode).

Split the original single frame into the following panes:
Main Board
Basic Info
Winrate
Sub Board
Variation Tree
Comment
image

At the same time, each Pane, like the JToolBar, can be dragged out to be a separate window so that we can display them on different displays. The window will restore a pane when the window be closed.
image

Avoid/Allow Dialog (Alt+A):
image

Gtp Console Dialog (press E or Auto Start if turn on the option 'print-comms')):
image

Change Move Dialog (Alt+M):
image

Config dialog (Press Ctrl+X):
image
Engine wizard (Click '...' button:

  1. Choose a engine:
    image
  2. Choose a weight file:
    image
  3. Setup parameters:
    image

Replay branch
41

Lizzie v0.5+ Sgf Variation, Comment, Multiple Heights, Custom Theme etc.

10 Nov 14:24
Compare
Choose a tag to compare

Lizzie v0.5+ Sgf Variation, Comment, Multiple Heights etc.

This Pre-release is a beta version before related pull request is accepted.

-- updated in 2018-11-09: Final update! The new version 0.6 already released.

Try adding some new features based on Lizzie 0.5: (:heavy_check_mark: - Accepted, :clock9: - Reviewing)

  • ✔️ Support for displaying Sgf comments: press key 'T' to toggle
  • ✔️ Support read and write the Sgf with variations and more properties (TR, SQ, CR, MA, LB, MN and AW/AB/AE of Move)
  • ✔️ Support switch multiple engine heights
  • ✔️ Support for custom theme and font, update new board and background
  • ✔️ Support save the (height/playouts)winrate(lastmoverate) into the comment of Sgf (need turn on "append-winrate-to-comment" in the config.txt)
  • ✔️ Support only display last move number: press key 'M' to toggle
  • ✔️ Support use mouse click to navigate in variation graph
  • ✔️ Support blunder bar in the winrate graph: press key Ctrl+W to toggle large winrate graph
  • ✔️ Support new key shortcut: Ctrl+Left (To branch top), Ctrl+Shit+Up/Done(To previous/next node with comment), Press Ctrl+Home to clear board
  • ✔️ Support use different color to indicate move node in variation graph: press key Ctrl+T to toggle comment node
  • ✔️ Enhance the variation graph display
  • ✔️ Fixed wrong winrate when playing a handicap game
  • ✔️ Fixed: Display latest stone for ghost dead stone
  • ✔️ Fixed some display issues
  • ✔️ Support detect the sgf/gib file encoding
  • 🕘 Support replay branch when press key 'R', replay interval by option 'replay-branch-interval-seconds' by @phiming
  • ✔️ Support new move number in the branch, toggle by option 'new-move-number-in-branch'
  • ✔️ Allow user turn on/off the border by option 'show-border', default is turn off. New theme 'yasnaya' by @ParmuzinAlexander
  • 🕘 Press '[' and ']' to adjust the main board position by @phiming

image

New Theme 'yasnaya' by @ParmuzinAlexander
image

Custom Theme (Like Sabaki for testing, because I very like this UI)
image

More sgf properties:
image
image

Replay branch
41

Changelog:

  • ✔️ Support for displaying Sgf comments: press key 'T' to toggle

    Default is close, can press key 'T' to toggle.
    The comment font size fits to window (minimum=16), and also allow set up the comment font size in the config.txt (in the 'ui' section):
    "ui": {
    "show-comment": true,
    "comment-font-size": 24,

  • ✔️ Support read and write the Sgf with variations and more properties (TR, SQ, CR, MA, LB, MN and AW/AB/AE of Move)
    image

  • ✔️ Support switch multiple engine heights

    a) in the config.txt file, add a option (engine-command-list) to add some new command lines:
    "engine-command": "./leelaz --gtp --lagbuffer 0 --weights %network-file --threads 2",
    "engine-command-list": [
    "./leelaz --gtp --lagbuffer 0 --weights leelaz_172_b1c --threads 2",
    "./leelaz --gtp --lagbuffer 0 --weights human_best --threads 2",
    "./leelaz --gtp --lagbuffer 0 --weights elf_1_62b --threads 2",
    "./leelaz --gtp --lagbuffer 0 --weights leelaz_157_d35 --threads 2"
    ],

    b) Use the shortcut key Ctrl+number to switch the weight and display the weight name in the left down:
    Ctrl+0: Default switch to "engine-command"
    Ctrl+(1-9): Switch to "engine-command-list"

    c) If the current node is in Branch, it also supports keeping the current node when switching weights.

  • ✔️ Support for custom theme and font, update new board and background

    Now add a new way to customize the theme by external images, setup font & color of the comment.
    The configuration method is as following:

    1. Change the 'theme' value to specify your theme name:
      "theme": "",
      for example:
      "theme": "mylike",
    2. Create subfolders in the lizzie folder
      /theme/
      for example:
      /theme/mylike
    3. The custom-theme folder must include the config file 'theme.txt', the format as followings(use default when option not be specified):
      PS: following option can directly be specified in the config.txt file.
      {
      "background-image" : "background.png",
      "board-image" : "board.png",
      "black-stone-image" : "black.png",
      "white-stone-image" : "white.png",
      "font-name": "Wawati SC",
      "ui-font-name": "Wawati SC",
      "winrate-font-name": "Wawati SC Bold",
      "shadow-size": 100,
      "solid-stone-indicator": true,
      "winrate-stroke-width": 2,
      "minimum-blunder-bar-width": 3,
      "comment-background-color": [0, 0, 0, 200],
      "comment-font-color": [255, 255, 255],
      "winrate-line-color": [0, 255, 0],
      "winrate-miss-line-color": [0, 0, 255, 200],
      "blunder-bar-color": [255, 0, 0, 200]
      }
    4. Will use default theme when not found related config item.
    5. Run the Lizzie.
  • ✔️ Support save the winrate etc. into the comment of Sgf (need turn on "append-winrate-to-comment" in the config.txt)

    format as followings:

    Move <move number>
    <Winrate> (<Last Move Rate Difference>)
    (<Weight name> / <Playouts>)

    for example:
    W[dd]C[Move 2
    53.5% (-0.1%)
    (elf_v1 / 18k playouts)

    other comments];

  • ✔️ Support only display last move number: press key 'M' to toggle

    Use 'only-last-move-number' to specify the last move number you want to display only:
    "only-last-move-number": 10,

    When press key 'M' the status will switching as followings:
    Off -> Display all move number -> Display last move number if specified -> Off

  • ✔️ Support use mouse click to navigate in variation graph

  • ✔️ Support blunder bar in the winrate graph: press key Ctrl+W to toggle large winrate graph

    1. Add new option 'show-blunder-bar' in the config.txt to turn on blunder bar, default is turn off.
    2. Can specify the minimum width of the blunder bar by the option 'minimum-winrate-blunder-bar-width' in the config.txt, default is 3.
    3. Considering that the winrate change should be mostly below 50%, an option is added to weighted display the height of the bar, that is, the change below 50% increases the display height, and the above 50% reduces the height. Currently only a simple weighted, the winrate change below 50% uses 75% of the display area, the above uses 25% of the display area. The default is off

turn off -> turn on
image

Adjusted for the green of the winrate graph should always be on top:
image

4. Due to the small width of the winrate graph, when the move number is large, the display is crowded, so an option 'dynamic-winrate-graph-width' is added to dynamically adjust the width, so that can see clearly when the number of steps is small. Default is turn off.

5. Add new option 'winrate-stroke-width' in the config.txt to set the winrate line width, default is 3

6. Add large winrate mode, press Ctrl+W to toggle:

lb

  • ✔️ Support new key shortcut:
    Ctrl+Left: To branch top
    Ctrl+Shit+Up/Done: To previous/next node with comment

  • ✔️ Support use different color to indicate move node in variation graph: press key Ctrl+T to toggle comment node, Press key 'Y' to switch color node display

image

Config:
"blunder-winrate-thresholds": [-30,-20,-10,-5,5,10],
"blunder-node-colors":[[255,0,0],[0,255,0],[0,0,255],[255,255,0],[0,255,255],[255,0,255]],

With comment node: press Ctrl+T to toggle show
image

Press 'Y' to switch node color:
All color -> only black -> only white

  • ✔️ Enhance the variation graph display

  • ✔️ Fixed wrong winrate when playing a handicap game

  • ✔️ Fixed: Display latest stone for ghost dead stone

  • ✔️ Fixed some display issues