diff --git a/README.md b/README.md index bd752f8..bbcb8ad 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@

ChessPenguin

- A native chess database for Linux: open PGN collections, read annotated games, - enter your own and analyse them with Stockfish or any UCI engine. + A chess database for Linux, Windows, macOS and Android: open PGN and ChessBase collections, + read annotated games, enter your own, analyse them with Stockfish, prepare against an + opponent and play against the computer.

@@ -14,7 +15,7 @@ Русский

-![Analysis](docs/screenshots/analysis.png) +![A game with its review](docs/screenshots/game.png) ## Features @@ -28,11 +29,24 @@ - **Notation** — main line as a two-column table, comments and variations as blocks, mouse and keyboard navigation. - **Stockfish included** — analysis works right after installation; other UCI engines can be added. +- **Reference** — the moves played from the current position in a database of your shelf + (a big one for theory) with their statistics, how long the game stays in it, the + strongest games that reached it. +- **Search by position** — set up moves on a board and filter a database of millions of + games by the position, next to filters by player, years, rating, opening and result. - **Engine analysis** — any UCI engine, up to 5 lines, best-move arrows, evaluation bar; search time, threads and memory are set right in the analysis panel. -- **Game analysis** — evaluate the whole game in the background: evaluation graph under the board, +- **Game review** — evaluate the whole game in the background: evaluation graph under the board, accuracy, inaccuracies, mistakes and blunders per player and per game phase (Lichess method), - better moves in the notation; write it into the game as NAGs, comments and `[%eval]` (undoable). + **brilliant (!!) and great (!) moves** calibrated on chess.com's marks of famous games, better + moves in the notation and marks on the board; write it into the game as NAGs, comments and + `[%eval]` (undoable). The review always runs the same engine search, so a game gets the same + marks on every computer and phone. +- **Preparing against an opponent** — pick a player of a database and see their opening + repertoire for each colour: a tree of their moves with opening names, games, score and the + last game, a table of openings and variations with their first moves, where they leave + theory; on request the engine finds their opening mistakes, by opening, with the ones they + repeat. Every table sorts by its columns. - **Engine lines on the board** — step through a line without touching the game, add it as a variation with one click (undoable). - **Editing** — enter moves and variations, promote or delete lines, undo/redo, @@ -61,16 +75,24 @@ player's database. Maia (316 MB) and Rodent (48 and 70 MB) are downloaded on request. - **Looks** — 17 piece sets, 37 boards (flat colours and textures), 7 sound sets, dark and light themes. -- **Online games** — download anyone's games from Lichess and Chess.com by nickname (yours, a pupil's, an opponent's; no login) into a database, both sites merged or one per site, and fetch the new ones with one click. +- **Online games** — download anyone's games from Lichess and Chess.com by nickname (yours, a pupil's, an opponent's; no login) into a database, both sites merged or one per site; new games arrive by themselves. +- **100 classic games** built in — from Anderssen and Morphy to Carlsen, the famous ones + with short introductions; the sample databases update with the program. +- **Android app** — databases and games in the same formats, moves on the board, your own + databases, game review with !! and !, play against Maia, learning an opening. - **Languages** — English, Русский, Français, Deutsch, Español, Italiano, Português, Oʻzbekcha, Қазақша. -| Game analysis: graph and report | Engine marks and better lines | +| Preparing against an opponent | Game review: report, !! and ! | | --- | --- | -| ![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) | | +| ![Preparing against an opponent](docs/screenshots/prep-openings.jpg) | ![Game review](docs/screenshots/review.png) | +| **Engine analysis** | **Reference: what was played here** | +| ![Engine analysis](docs/screenshots/engine.jpg) | ![Reference](docs/screenshots/reference.jpg) | +| **Library with filters** | **Search by position** | +| ![Library](docs/screenshots/library.png) | ![Search by position](docs/screenshots/position-search.jpg) | +| **Play against the computer** | **Android** | +| ![Play](docs/screenshots/play.jpg) | ![Android](docs/screenshots/android.jpg) | +| **Boards, pieces and a light theme** | | +| ![Looks](docs/screenshots/looks.jpg) | | ## Install @@ -85,7 +107,7 @@ Packages for every release are on the [Releases](https://github.com/vrubelroman/ | Flatpak | `flatpak install --user ChessPenguin--x86_64.flatpak` | | Windows | unzip `ChessPenguin--windows-x86_64.zip`, run `ChessPenguin.exe` | | macOS (Apple Silicon) | open `ChessPenguin--macos-arm64.dmg`, drag ChessPenguin to Applications | -| Android 12+ (alpha) | open `ChessPenguin--android.apk` (Stockfish built in) or `…-android-noengine.apk` (Stockfish downloaded in the app) on the phone | +| Android 12+ | open `ChessPenguin--android.apk` (Stockfish built in) or `…-android-noengine.apk` (Stockfish downloaded in the app) on the phone | On macOS the app is not signed by Apple yet: the first time, right-click ChessPenguin in Applications and choose **Open** (on macOS 15: System Settings → Privacy & Security → Open Anyway). @@ -95,10 +117,10 @@ official Stockfish 19 (about 80 MB, checked before use, installed for your accou button is also in **Settings → Engines**. A `stockfish` installed on the system is found automatically, any other UCI engine can be added from a file. The Flatpak includes Stockfish. -The **Android app** (alpha) opens databases and games (the same formats), with the notation under -the board and Stockfish. Moves are made on the board (variations, undo); your own databases live on -the phone; play against Maia (the small model, no clocks; games kept in the player's database) and learn an opening up to a move. The two -APKs install over each other; databases and settings are kept. +The **Android app** opens databases and games (the same formats), with the notation under the +board and Stockfish. Moves are made on the board (variations, undo); your own databases live on +the phone; game review with !! and !; play against Maia and Rodent IV; learn an opening up to a +move. The two APKs install over each other; databases and settings are kept. ### Build from source diff --git a/README.ru.md b/README.ru.md index 5b233aa..b4a00ef 100644 --- a/README.ru.md +++ b/README.ru.md @@ -1,11 +1,14 @@ # ChessPenguin -Нативная шахматная база для Linux: открывайте PGN-сборники, читайте аннотированные партии, -вводите свои и анализируйте их со Stockfish или любым UCI-движком. +Шахматная база для Linux, Windows, macOS и Android: открывайте сборники PGN и ChessBase, читайте +аннотированные партии, вводите свои, анализируйте их со Stockfish, готовьтесь к сопернику и +играйте с компьютером. [English](README.md) · [Скачать](https://github.com/vrubelroman/chessPenguin/releases/latest) -![Анализ](docs/screenshots/ru/analysis.png) +![Партия с разбором](docs/screenshots/game.png) + +Скриншоты — английского интерфейса; в программе девять языков, русский среди них. ## Возможности @@ -17,11 +20,22 @@ (windows-1251, windows-1252, KOI8-R, CP866) и учебные нулевые ходы `--`. Исходные файлы не изменяются. - **Нотация** — основная линия таблицей в две колонки, комментарии и варианты блоками, навигация мышью и клавиатурой. +- **Справочник** — какие ходы делали из текущей позиции в базе с полки (для теории — в большой), + их статистика, сколько партия держится в базе, сильнейшие партии с этой позицией. +- **Поиск по позиции** — расставьте ходы на доске и отфильтруйте базу на миллионы партий по + позиции, рядом — фильтры по игроку, годам, рейтингу, дебюту и результату. - **Анализ движком** — любой UCI-движок, до 5 линий, стрелки лучших ходов, шкала оценки; время, потоки и память настраиваются прямо в панели анализа. -- **Анализ партии** — оценка всей партии в фоне: график под доской, точность, неточности, ошибки - и зевки каждого игрока и по стадиям партии (методика Lichess), лучшие ходы в нотации; - запись анализа в партию знаками, комментариями и `[%eval]` (с отменой). +- **Разбор партии** — оценка всей партии в фоне: график под доской, точность, неточности, ошибки + и зевки каждого игрока и по стадиям партии (методика Lichess), **блестящие (!!) и + замечательные (!) ходы**, сверенные с отметками chess.com на известных партиях, лучшие ходы в + нотации и значки на доске; запись разбора в партию знаками, комментариями и `[%eval]` (с + отменой). Разбор всегда идёт на одних и тех же параметрах движка, поэтому у партии одинаковые + отметки на любом компьютере и телефоне. +- **Подготовка к сопернику** — выберите игрока базы и посмотрите его дебютный репертуар за белых и + за чёрных: дерево его ходов с названиями дебютов, партиями, счётом и датой последней партии, + таблица дебютов и вариантов с первыми ходами, где он уходит из теории; по кнопке движок находит + его ошибки в дебютах — по дебютам и те, что он повторяет. Все таблицы сортируются по колонкам. - **Линии движка на доске** — просмотр линии без изменения партии и вставка её вариантом (с отменой). - **Редактирование** — ввод ходов и вариантов, повышение и удаление линий, отмена/повтор, копирование PGN/FEN, сохранение партии в новый файл. @@ -37,16 +51,24 @@ в проигранной позиции соперник предлагает сдаться. Сыгранные партии сами записываются в базу игрока. Maia (316 МБ) и Rodent (48 и 70 МБ) скачиваются по кнопке. - **Оформление** — 17 наборов фигур, 37 досок (цвета и текстуры), 7 наборов звуков, тёмная и светлая тема. -- **Ваши онлайн-партии** — загрузка своих партий с Lichess и Chess.com по нику (без входа) в базу и обновление одной кнопкой. +- **Онлайн-партии** — партии любого игрока с Lichess и Chess.com по нику (без входа) в базу; новые партии приходят сами. +- **100 классических партий** встроены — от Андерсена и Морфи до Карлсена, знаменитые — с + короткими введениями; встроенные базы обновляются вместе с программой. +- **Приложение для Android** — базы и партии тех же форматов, ходы на доске, свои базы, разбор + партии с !! и !, игра с Maia, изучение дебюта. - **Языки** — English, Русский, Français, Deutsch, Español, Italiano, Português, Oʻzbekcha, Қазақша. -| Анализ партии: график и отчёт | Отметки движка и лучшие варианты | +| Подготовка к сопернику | Разбор партии: отчёт, !! и ! | | --- | --- | -| ![Анализ партии](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) | | +| ![Подготовка к сопернику](docs/screenshots/prep-openings.jpg) | ![Разбор партии](docs/screenshots/review.png) | +| **Анализ движком** | **Справочник: что здесь играли** | +| ![Анализ движком](docs/screenshots/engine.jpg) | ![Справочник](docs/screenshots/reference.jpg) | +| **Библиотека с фильтрами** | **Поиск по позиции** | +| ![Библиотека](docs/screenshots/library.png) | ![Поиск по позиции](docs/screenshots/position-search.jpg) | +| **Игра с компьютером** | **Android** | +| ![Игра](docs/screenshots/play.jpg) | ![Android](docs/screenshots/android.jpg) | +| **Доски, фигуры и светлая тема** | | +| ![Оформление](docs/screenshots/looks.jpg) | | ## Установка @@ -59,8 +81,9 @@ Stockfish 19 (около 80 МБ, проверяется перед запуск в **Настройки → Движки**. Установленный в системе `stockfish` находится сам, другие UCI-движки добавляются из файла. Во Flatpak Stockfish уже есть. -**Android 12+ (альфа-версия):** базы и партии (те же форматы), нотация под доской, Stockfish; ходы на доске -(варианты, отмена), свои базы на телефоне, игра с Maia (малая модель, без часов; партии сами пишутся в базу игрока) и изучение дебюта. +**Android 12+:** базы и партии (те же форматы), нотация под доской, Stockfish; ходы на доске +(варианты, отмена), свои базы на телефоне, разбор партии с !! и !, игра с Maia и Rodent IV, +изучение дебюта. Две сборки: `ChessPenguin-<версия>-android.apk` — Stockfish уже внутри, `…-android-noengine.apk` — Stockfish скачивается в приложении. Ставятся одна поверх другой, базы и настройки сохраняются. diff --git a/docs/design/engine-download.md b/docs/design/engine-download.md index 20ce072..14303c1 100644 --- a/docs/design/engine-download.md +++ b/docs/design/engine-download.md @@ -2,7 +2,7 @@ Статус: проект дизайнера, 2026-10-19, **не утверждён**. Основа — решение 14 в `../decisions.md` (Stockfish больше не в пакетах, кроме Flatpak и Arch) и требование владельца «просто, понятно, интуитивно понятно». Пересматривает поведение из решения 10: «встроенный» Stockfish остаётся только во Flatpak. -Опирается на текущий код: `apps/desktop/src/engines.rs` (`first_run_setup`, `suggestions`, `system_stockfish`), `settings_ui.rs` (вкладка «Движки»), `app.rs::toggle_engine` (сейчас без движка — тост и открытие настроек), `review.rs::dialog` (окно «Анализ партии», `egui::Modal`, 440 pt, кнопки справа налево), `game_view.rs::engine_panel` (переключатель «Анализ: вкл/выкл»). Скриншоты: `docs/screenshots/ru/settings.png`, `engine.png`, `analysis.png`. +Опирается на текущий код: `apps/desktop/src/engines.rs` (`first_run_setup`, `suggestions`, `system_stockfish`), `settings_ui.rs` (вкладка «Движки»), `app.rs::toggle_engine` (сейчас без движка — тост и открытие настроек), `review.rs::dialog` (окно «Анализ партии», `egui::Modal`, 440 pt, кнопки справа налево), `game_view.rs::engine_panel` (переключатель «Анализ: вкл/выкл»). Скриншоты: (старые снимки удалены; актуальные — `docs/screenshots/`). Размеры — логические точки egui; эталон 1920×1080 логически, минимум 900×600. diff --git a/docs/screenshots/analysis.png b/docs/screenshots/analysis.png deleted file mode 100644 index 4df5efe..0000000 Binary files a/docs/screenshots/analysis.png and /dev/null differ diff --git a/docs/screenshots/android.jpg b/docs/screenshots/android.jpg new file mode 100644 index 0000000..3a8150e Binary files /dev/null and b/docs/screenshots/android.jpg differ diff --git a/docs/screenshots/engine.jpg b/docs/screenshots/engine.jpg new file mode 100644 index 0000000..312abc0 Binary files /dev/null and b/docs/screenshots/engine.jpg differ diff --git a/docs/screenshots/engine.png b/docs/screenshots/engine.png deleted file mode 100644 index 1dda049..0000000 Binary files a/docs/screenshots/engine.png and /dev/null differ diff --git a/docs/screenshots/game.png b/docs/screenshots/game.png new file mode 100644 index 0000000..1850ac7 Binary files /dev/null and b/docs/screenshots/game.png differ diff --git a/docs/screenshots/library.png b/docs/screenshots/library.png index 68d9469..59c712f 100644 Binary files a/docs/screenshots/library.png and b/docs/screenshots/library.png differ diff --git a/docs/screenshots/looks.jpg b/docs/screenshots/looks.jpg new file mode 100644 index 0000000..f10ab54 Binary files /dev/null and b/docs/screenshots/looks.jpg differ diff --git a/docs/screenshots/marks.png b/docs/screenshots/marks.png deleted file mode 100644 index 23f269d..0000000 Binary files a/docs/screenshots/marks.png and /dev/null differ diff --git a/docs/screenshots/play.jpg b/docs/screenshots/play.jpg new file mode 100644 index 0000000..652311a Binary files /dev/null and b/docs/screenshots/play.jpg differ diff --git a/docs/screenshots/position-search.jpg b/docs/screenshots/position-search.jpg new file mode 100644 index 0000000..7610301 Binary files /dev/null and b/docs/screenshots/position-search.jpg differ diff --git a/docs/screenshots/prep-openings.jpg b/docs/screenshots/prep-openings.jpg new file mode 100644 index 0000000..403fba6 Binary files /dev/null and b/docs/screenshots/prep-openings.jpg differ diff --git a/docs/screenshots/reference.jpg b/docs/screenshots/reference.jpg new file mode 100644 index 0000000..ca65e7e Binary files /dev/null and b/docs/screenshots/reference.jpg differ diff --git a/docs/screenshots/review.png b/docs/screenshots/review.png index 8f61509..19bdb68 100644 Binary files a/docs/screenshots/review.png and b/docs/screenshots/review.png differ diff --git a/docs/screenshots/ru/analysis.png b/docs/screenshots/ru/analysis.png deleted file mode 100644 index 30a4858..0000000 Binary files a/docs/screenshots/ru/analysis.png and /dev/null differ diff --git a/docs/screenshots/ru/engine.png b/docs/screenshots/ru/engine.png deleted file mode 100644 index e2cc7f4..0000000 Binary files a/docs/screenshots/ru/engine.png and /dev/null differ diff --git a/docs/screenshots/ru/library.png b/docs/screenshots/ru/library.png deleted file mode 100644 index 5e7117d..0000000 Binary files a/docs/screenshots/ru/library.png and /dev/null differ diff --git a/docs/screenshots/ru/marks.png b/docs/screenshots/ru/marks.png deleted file mode 100644 index d6dff83..0000000 Binary files a/docs/screenshots/ru/marks.png and /dev/null differ diff --git a/docs/screenshots/ru/review.png b/docs/screenshots/ru/review.png deleted file mode 100644 index 23f3bbe..0000000 Binary files a/docs/screenshots/ru/review.png and /dev/null differ diff --git a/docs/screenshots/ru/settings.png b/docs/screenshots/ru/settings.png deleted file mode 100644 index e35fccc..0000000 Binary files a/docs/screenshots/ru/settings.png and /dev/null differ diff --git a/docs/screenshots/settings.png b/docs/screenshots/settings.png deleted file mode 100644 index a3a2e95..0000000 Binary files a/docs/screenshots/settings.png and /dev/null differ diff --git a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml index fdf31d7..6c520f4 100644 --- a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml +++ b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml @@ -28,7 +28,7 @@ https://github.com/vrubelroman/chessPenguin/issues - https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/analysis.png + https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/game.png https://raw.githubusercontent.com/vrubelroman/chessPenguin/main/docs/screenshots/review.png