From 52500f61a5f42358b012b514f09de0c215591dc4 Mon Sep 17 00:00:00 2001 From: vrubelroman Date: Thu, 29 Oct 2026 22:59:15 +0300 Subject: [PATCH] Release 2.1.1 Brilliant moves for a hard only move a shallow search misses; surer great moves (no ! for a quiet step away or the king out of check). Formatting by cargo fmt. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 11 ++++++++ Cargo.lock | 26 +++++++++---------- Cargo.toml | 2 +- crates/game-review/examples/chesscom_check.rs | 6 ++++- crates/game-review/src/features.rs | 5 +++- ...thub.vrubelroman.chessPenguin.metainfo.xml | 5 ++++ 6 files changed, 39 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0258fae..f701182 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https ## [Unreleased] +## [2.1.1] — 2026-10-29 + +- Brilliant moves (!!) also for the only good move that a shallow search misses, sacrifice + or not (as people see brilliance: a move a weak engine rates lower and a strong one + best). The game review adds a short search for the moves that could be such (1–2 % + longer). On chess.com's marks of 20 famous games: 90 % of their !! found, 95 % of ours + are theirs. +- Great moves (!) are surer: no ! for an attacked piece stepping quietly to its one good + square, nor for the king stepping out of check — 27 of our 28 ! are chess.com's. +- Website statistics count a file downloaded again the same day by the same visitor once. + ## [2.1.0] — 2026-10-28 - Desktop: preparing against an opponent. Pick a player of a database (similar names diff --git a/Cargo.lock b/Cargo.lock index 0bd4748..6fdca1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -768,7 +768,7 @@ dependencies = [ [[package]] name = "chess-core" -version = "2.1.0" +version = "2.1.1" dependencies = [ "encoding_rs", "pgn-reader", @@ -778,7 +778,7 @@ dependencies = [ [[package]] name = "chess-import" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "encoding_rs", @@ -791,7 +791,7 @@ dependencies = [ [[package]] name = "chess-openings" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-import", "serde", @@ -800,7 +800,7 @@ dependencies = [ [[package]] name = "chesspenguin" -version = "2.1.0" +version = "2.1.1" dependencies = [ "arboard", "base64 0.22.1", @@ -1678,7 +1678,7 @@ dependencies = [ [[package]] name = "game-review" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "chess-openings", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "maia" -version = "2.1.0" +version = "2.1.1" dependencies = [ "serde_json", "shakmaty", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "mobile-api" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "chess-import", @@ -3072,7 +3072,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "online-games" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "serde", @@ -3339,7 +3339,7 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" [[package]] name = "play" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "getrandom 0.3.4", @@ -3440,7 +3440,7 @@ checksum = "196a7c80b9a7652aba7cc070827516c2abe4ccdf53d128e1944003cf5726cff1" [[package]] name = "prep" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "chess-import", @@ -3639,7 +3639,7 @@ dependencies = [ [[package]] name = "releases" -version = "2.1.0" +version = "2.1.1" dependencies = [ "serde_json", "ureq", @@ -4634,7 +4634,7 @@ dependencies = [ [[package]] name = "trainer" -version = "2.1.0" +version = "2.1.1" dependencies = [ "chess-core", "chrono", @@ -4676,7 +4676,7 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "uci" -version = "2.1.0" +version = "2.1.1" dependencies = [ "libc", "thiserror 2.0.21", diff --git a/Cargo.toml b/Cargo.toml index b032d0e..fdba624 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ ] [workspace.package] -version = "2.1.0" +version = "2.1.1" edition = "2024" rust-version = "1.97" license = "GPL-3.0-or-later" diff --git a/crates/game-review/examples/chesscom_check.rs b/crates/game-review/examples/chesscom_check.rs index 6c65ed0..31be3d8 100644 --- a/crates/game-review/examples/chesscom_check.rs +++ b/crates/game-review/examples/chesscom_check.rs @@ -118,7 +118,11 @@ fn main() { }; let label = game.move_label(line[i + 1]).unwrap_or_default(); let san = label.rsplit(' ').next().unwrap_or_default(); - let mark = if *j == Judgement::Brilliant { "!!" } else { "!" }; + let mark = if *j == Judgement::Brilliant { + "!!" + } else { + "!" + }; if plain.contains(&san) { owner_wrong += 1; println!(" OWNER {label:<14} ours {mark}, the owner: plain"); diff --git a/crates/game-review/src/features.rs b/crates/game-review/src/features.rs index b54be8f..2de9eb2 100644 --- a/crates/game-review/src/features.rs +++ b/crates/game-review/src/features.rs @@ -497,7 +497,10 @@ mod tests { let f = features("4k3/8/8/8/8/8/8/r3K3 w - - 0 1", "Ke2"); assert!(f.check && f.king_move, "{f:?}"); assert!(!f.great_shape(Rules::ChessCom, true), "{f:?}"); - assert!(f.great_shape(Rules::Strict, true), "the first rules stay: {f:?}"); + assert!( + f.great_shape(Rules::Strict, true), + "the first rules stay: {f:?}" + ); } #[test] diff --git a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml index 6c520f4..4d11e83 100644 --- a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml +++ b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml @@ -43,6 +43,11 @@ BoardGame + + +

Brilliant moves also for a hard only move that a shallow search misses; great moves are surer, with no mark for a piece simply stepping away or the king stepping out of check.

+
+

Preparing against an opponent: their opening repertoire by colour with opening names, and their opening mistakes found by the engine. The game review uses one fixed engine search everywhere, so the same game gets the same marks on every computer and phone. Brilliant and great moves recalibrated on chess.com; 100 classic sample games instead of 38.