Skip to content

Commit

Permalink
Merge pull request featurecat#262 from featurecat/next
Browse files Browse the repository at this point in the history
merge next with master
  • Loading branch information
featurecat authored Jun 1, 2018
2 parents 693f125 + f0a389f commit a82c8ec
Show file tree
Hide file tree
Showing 43 changed files with 2,284 additions and 1,454 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
persist.properties
persist
lizzie.properties
config.txt
out/*
.idea/
*.dll
*.iml
*.exe
network
network.gz
leelaz
src/main/resources/META-INF
target
leelaz_opencl_tuning
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Lizzie - Leela Zero Interface
![screenshot](/screen.png?raw=true)
![screenshot](/screen0.5.png?raw=true)

Lizzie is a graphical interface allowing the user to analyze games in
real time using [Leela Zero](https://github.com/gcp/leela-zero). You
Expand All @@ -8,10 +8,10 @@ need Java 8 or higher to run this program.
## Running a release

Just follow the instructions in the provided readme in the
[release](https://github.com/featurecat/lizzie/releases/tag/0.4).
[release](https://github.com/featurecat/lizzie/releases/tag/0.5).

The first run will take a while because Leela Zero needs to set up the
OpenCL tunings. Just hang tight, and wait for it to finish, then you
The first run may take a while because Leela Zero needs to set up the
OpenCL tunings and download the latest network if it is not present. Just hang tight, and wait for it to finish, then you
will see Leela Zero's analysis displayed on the board. Feel free to supply
your own tunings, as this will speed up the process. Do this by copying
any `leelaz_opencl_tuning` file you have into the directory.
Expand All @@ -20,16 +20,11 @@ any `leelaz_opencl_tuning` file you have into the directory.

### Building Leela Zero

First, you will need to have a special version of Leela Zero that
First, you will need to have a version of Leela Zero that
continually outputs pondering information. You can get this from one
of the Lizzie releases or build it yourself; just substitute
`leelaz-src/UCTSearch.cpp` for the `UCTSearch.cpp` file found in the
Leela Zero sources. Then copy the resulting `leelaz` to the root of
the Lizzie directory tree.
of the Lizzie releases or build it yourself; just compile from the **next** branch of Leela Zero (see http://github.com/gcp/leela-zero/tree/next for more details).

You will also need a file of network weights. There is one
provided in the Lizzie release package, or you can download one from
[http://zero.sjeng.org/](http://zero.sjeng.org/). Unzip the resulting .gz file (7zip is the recommended program). Save the resulting file in the Lizzie directory as "network". (with no file extension. the full name is "network", NOT network.txt).
git clone -b next http://github.com/gcp/leela-zero.git

### Building Lizzie

Expand All @@ -42,7 +37,7 @@ To build the code and package it:

### Running Lizzie

$ java -jar "target/lizzie-0.4-shaded.jar"
$ java -jar "target/lizzie-0.5-shaded.jar"

(or whatever the current version of the shaded `jar` file is in
`target/`).
Binary file modified assets/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed binaries/windows/leelaz-64-cpu.exe
Binary file not shown.
Binary file removed binaries/windows/leelaz-64-gpu.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package plugin;

import java.io.IOException;

import wagner.stephanie.lizzie.plugin.IPlugin;
import IPlugin;

/**
* Plugin
Expand Down
2 changes: 1 addition & 1 deletion doc/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The theme's function is to make Lizzie's display richer, so simply change the as

The way to load a theme is to copy the theme's Jar file to the theme directory, and then set the theme's class name in the configuration file.

Any class that implements the wagner.stephanie.lizzie.theme.ITheme interface can be used as a theme class.
Any class that implements the ITheme interface can be used as a theme class.

Use ```javac -classpath ...``` to ensure that the theme's source files can be imported into the ITheme class.

Expand Down
Loading

0 comments on commit a82c8ec

Please sign in to comment.