ChessPenguin 0.2.0: screenshots in English and Russian, shorter better lines

- New screenshots (Merida pieces, green board) in English and Russian:
  engine analysis, game review, engine marks, engine settings, library, settings.
- Better lines under marked moves show 6 moves and grow while stepping.
- CP_REPORT dev hook; version 0.2.0, changelog and AppStream release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubel 2026-10-18 12:10:40 +03:00
parent 56cfb4d09f
commit 42418a57c4
23 changed files with 50 additions and 11 deletions

View file

@ -2,7 +2,7 @@
All notable changes are listed here. Versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [0.2.0] — 2026-10-18
- Stockfish 19 is bundled with every package (unmodified official "universal" build, which picks
the right code path for the CPU) and set up on the first start; a system `stockfish` is detected
@ -13,6 +13,7 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https
average centipawn loss and accuracy per game phase; engine marks and better lines in the notation;
"Write analysis to the game" (NAGs, comments, `[%eval]`, one undo step). Results are cached;
`[%eval]` comments of a PGN are used without an engine.
- Screenshots in English and Russian.
## [0.1.0] — 2026-10-18

6
Cargo.lock generated
View file

@ -637,7 +637,7 @@ dependencies = [
[[package]]
name = "chess-core"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"encoding_rs",
"pgn-reader",
@ -647,7 +647,7 @@ dependencies = [
[[package]]
name = "chesspenguin"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"arboard",
"chess-core",
@ -3819,7 +3819,7 @@ dependencies = [
[[package]]
name = "uci"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"thiserror 2.0.21",
]

View file

@ -3,7 +3,7 @@ resolver = "3"
members = ["crates/chess-core", "crates/uci", "apps/desktop"]
[workspace.package]
version = "0.1.0"
version = "0.2.0"
edition = "2024"
rust-version = "1.97"
license = "GPL-3.0-or-later"

View file

@ -38,9 +38,13 @@
sounds, dark and light themes.
- **Languages** — English, Русский, Français, Deutsch, Español, Italiano.
| Library | Variations and engine settings | Boards and pieces |
| --- | --- | --- |
| ![Library](docs/screenshots/library.png) | ![Variations](docs/screenshots/variations.png) | ![Settings](docs/screenshots/settings.png) |
| Game analysis: graph and report | Engine marks and better lines |
| --- | --- |
| ![Game analysis](docs/screenshots/review.png) | ![Engine marks](docs/screenshots/marks.png) |
| **Engine settings in the analysis panel** | **Library** |
| ![Engine settings](docs/screenshots/engine.png) | ![Library](docs/screenshots/library.png) |
| **Boards and pieces** | |
| ![Settings](docs/screenshots/settings.png) | |
## Install

View file

@ -5,7 +5,7 @@
[English](README.md) · [Скачать](https://github.com/vrubelroman/chessPenguin/releases/latest)
![Анализ](docs/screenshots/analysis.png)
![Анализ](docs/screenshots/ru/analysis.png)
## Возможности
@ -25,6 +25,14 @@
- **Оформление** — 14 наборов фигур и 26 досок (цвета и текстуры Lichess), звуки, тёмная и светлая тема.
- **Языки** — English, Русский, Français, Deutsch, Español, Italiano.
| Анализ партии: график и отчёт | Отметки движка и лучшие варианты |
| --- | --- |
| ![Анализ партии](docs/screenshots/ru/review.png) | ![Отметки движка](docs/screenshots/ru/marks.png) |
| **Настройки движка в панели анализа** | **Библиотека** |
| ![Настройки движка](docs/screenshots/ru/engine.png) | ![Библиотека](docs/screenshots/ru/library.png) |
| **Доски и фигуры** | |
| ![Настройки](docs/screenshots/ru/settings.png) | |
## Установка
Пакеты каждого релиза — на странице [Releases](https://github.com/vrubelroman/chessPenguin/releases):

View file

@ -198,6 +198,9 @@ impl App {
if std::env::var("CP_ENGINE_PANEL").is_ok() {
g.debug_open_engine_settings();
}
if std::env::var("CP_REPORT").is_ok() {
g.debug_show_report();
}
if let Some(k) = std::env::var("CP_BEST").ok().and_then(|v| v.parse().ok()) {
g.debug_best_line(k);
}

View file

@ -958,6 +958,14 @@ impl GameView {
self.engine_settings_open = true;
}
/// Shows the Report tab (with the graph) when an analysis is available.
pub fn debug_show_report(&mut self) {
if self.review.has_data() {
self.review.visible = true;
self.side_tab = SideTab::Report;
}
}
/// Opens the better line of the first engine-marked move up to its `shown`-th move.
pub fn debug_best_line(&mut self, shown: usize) {
let mark = self

View file

@ -36,6 +36,8 @@ pub enum NotationCommand {
const ROW_H: f32 = 26.0;
const NUM_W: f32 = 38.0;
/// Moves of an engine's better line shown under a marked move.
const MARK_LINE_MOVES: usize = 6;
impl Notation<'_> {
pub fn show(self, ui: &mut Ui) -> NotationResponse {
@ -275,7 +277,9 @@ fn mark_block(ui: &mut Ui, n: &Notation, id: NodeId, mark: &Mark, out: &mut Nota
return;
}
ui.label(RichText::new(tr("Best:")).weak());
for (i, san) in mark.best_san.iter().enumerate() {
// Short by default; grows while the line is stepped through on the board.
let visible = MARK_LINE_MOVES.max(shown.unwrap_or(0));
for (i, san) in mark.best_san.iter().enumerate().take(visible) {
let label = match start {
Some((num, turn)) => {
let ply = i as u32 + u32::from(turn == Color::Black);
@ -310,6 +314,9 @@ fn mark_block(ui: &mut Ui, n: &Notation, id: NodeId, mark: &Mark, out: &mut Nota
out.best = Some((id, i + 1));
}
}
if mark.best_san.len() > visible {
ui.label(RichText::new("…").weak());
}
});
});
}

View file

@ -38,7 +38,7 @@ XDG_CONFIG_HOME=/tmp/cfg CP_OPEN=11 CP_PLY=3 CP_ANALYZE=1 ./target/debug/chesspe
```
`CP_OPEN` — индекс партии (с 0) в первой базе списка, `CP_PLY` — шагов по основной линии,
`CP_ANALYZE` — запустить активный движок, `CP_SETTINGS` — открыть настройки, `CP_ENGINE_PANEL` — раскрыть панель настроек движка, `CP_VAR` — перейти в первый вариант после `CP_PLY`, `CP_REVIEW=1` — запустить анализ партии (`=dialog` — только открыть окно), `CP_BEST=k` — показать на доске k-й ход лучшей линии у первой отметки движка (нужен готовый анализ), `CP_SCREENSHOT=file.png` (+ `CP_SCREENSHOT_DELAY=сек`) — полноэкранный снимок окна и выход; так сделаны `docs/screenshots/`.
`CP_ANALYZE` — запустить активный движок, `CP_SETTINGS` — открыть настройки, `CP_ENGINE_PANEL` — раскрыть панель настроек движка, `CP_VAR` — перейти в первый вариант после `CP_PLY`, `CP_REVIEW=1` — запустить анализ партии (`=dialog` — только открыть окно), `CP_REPORT=1` — открыть вкладку «Отчёт» (нужен готовый анализ), `CP_BEST=k` — показать на доске k-й ход лучшей линии у первой отметки движка (нужен готовый анализ), `CP_SCREENSHOT=file.png` (+ `CP_SCREENSHOT_DELAY=сек`) — полноэкранный снимок окна и выход; так сделаны `docs/screenshots/`.
## Языки

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Before After
Before After

BIN
docs/screenshots/engine.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 271 KiB

Before After
Before After

BIN
docs/screenshots/marks.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

BIN
docs/screenshots/review.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 427 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

View file

@ -30,6 +30,9 @@
<screenshot type="default">
<image>https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/analysis.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/review.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/library.png</image>
</screenshot>
@ -40,6 +43,11 @@
<category>BoardGame</category>
</categories>
<releases>
<release version="0.2.0" date="2026-10-18">
<description>
<p>Game analysis with accuracy, mistakes and an evaluation graph; Stockfish 19 included.</p>
</description>
</release>
<release version="0.1.0" date="2026-10-18">
<description><p>First public release.</p></description>
</release>