From fe5a3e934f5429face464ce6cf4fddbf11f0d02a Mon Sep 17 00:00:00 2001 From: Sander Land Date: Mon, 8 Jun 2020 21:14:52 +0200 Subject: [PATCH] default config --- README.md | 9 +++--- katrain/config.json | 72 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 74 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 95d055b..e6f128e 100644 --- a/README.md +++ b/README.md @@ -78,11 +78,13 @@ Further technical details and discussion on these AIs can be found on [this](htt ## Analysis -AI moves, teaching mode and timers are suspended in analysis mode, - although analysis options are always available, some information is hidden if the 'Disable analysis while in play mode' is selected. - Keyboard shortcuts are shown with **[key]**. +* **[Tab]**: Switch between analysis and play modes. + * AI moves, teaching mode and timers are suspended in analysis mode. + * The state of the analysis options and right-hand side panels and options is saved independently for 'play' and 'analyze', + allowing you to quickly switch between a more minimalistic 'play' mode and more complex 'analysis' mode. + * The checkboxes at the top of the screen: * **[q]**: Child moves are shown. On by default, can turn it off to avoid obscuring other information or when wanting to guess the next move. @@ -103,7 +105,6 @@ Keyboard shortcuts are shown with **[key]**. In addition to shortcuts mentioned above and those shown in the main menu: * **[Shift]**: Open the main menu. -* **[Tab]**: Switch between analysis and play modes. * **[~]** or **[ ` ]** or **[m]**: Cycles through more minimalistic UI modes. * **[p]**: Pass * **[spacebar]**: Pause/Resume timer diff --git a/katrain/config.json b/katrain/config.json index 1a9a698..d5e3957 100644 --- a/katrain/config.json +++ b/katrain/config.json @@ -123,7 +123,73 @@ } }, "ui_state": { - "mode:play": {}, - "mode:analysis": {} + "play": { + "analysis_controls": { + "show_children": true, + "eval": false, + "hints": false, + "policy": false, + "ownership": false + }, + "panels": { + "graph_panel": [ + "open", + { + "score": true, + "winrate": false + } + ], + "stats_panel": [ + "open", + { + "score": true, + "winrate": true, + "points": true + } + ], + "notes_panel": [ + "open", + { + "info": true, + "info-details": false, + "notes": false + } + ] + } + }, + "analyze": { + "analysis_controls": { + "show_children": true, + "eval": false, + "hints": true, + "policy": false, + "ownership": true + }, + "panels": { + "graph_panel": [ + "open", + { + "score": true, + "winrate": true + } + ], + "stats_panel": [ + "open", + { + "score": true, + "winrate": true, + "points": true + } + ], + "notes_panel": [ + "open", + { + "info": true, + "info-details": true, + "notes": false + } + ] + } + } } -} +} \ No newline at end of file