Skip to content

Commit

Permalink
Show GTP console during initial tuning of KataGo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Jan 12, 2020
1 parent d2d2640 commit 662a56c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/featurecat/lizzie/analysis/Leelaz.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@ private void parseLine(String line) {
} catch (NumberFormatException nfe) {
dynamicOppKomi = Float.NaN;
}
} else if (line.startsWith("Tuning")) {
// Show GTP console during initial tuning of KataGo
// to avoid long no-response
if (!Lizzie.gtpConsole.isVisible()) {
Lizzie.frame.toggleGtpConsole();
}
} else if (line.equals("\n")) {
// End of response
} else if (line.startsWith("info")) {
Expand Down

0 comments on commit 662a56c

Please sign in to comment.