«⚔ Play» (Ctrl+G) opens «Play against the computer»: name and rating
(optional), strength 600–2600 (or weaker/as me/stronger), colour, Lichess time
controls, custom, no clock. The game screen in play mode: clock cards above
and below the notation (read-only), take back, resign (abort before the first
moves); no engine, analysis or editing. Maia answers in a background thread
with a human-like pause bounded so she never loses on time; stale answers are
dropped. Endings: mate, stalemate, no material, threefold, fifty moves, time
(draw when the other side cannot mate), resignation; then the result strip
(Analyse, Rematch, New game, Save to a database) and an ordinary game with the
tags of a played game and [%clk]. Leaving during a game asks (resign and add /
resign and leave / keep playing), the clocks wait meanwhile. maia reads the
published PyTorch checkpoint directly (zip + a small pickle reader that refuses
everything but tensors); maia_download fetches it on request (pinned revision,
SHA-256). Dev hooks CP_PLAY, CP_PLAY_AUTO, CP_MAIA. Russian texts; the other
languages follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shift+Enter is a paragraph (checked before Enter); the editor does not widen the
narrow panel (22-wide symbols, tighter margins); a variation's continuation after
the editor starts with the move number; 💾, «Add to database…», quitting and a
line preview write the draft first; Ctrl+1…6 with the editor open change its
draft; the ☰ item sits after «Game data…». Look: «Done» at the far right, Cancel
as tall; painted ✓/✕ in a narrow panel; 24-wide symbols with both groups on one
line at 1400; the pressed symbol in the selection's text colour; the field in its
own box; a readable hint line; the field capped so a notation row stays above
and below; the end of a long comment in view; the comment block lights up under
the mouse; the field is named after the title.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A short note in the interface language's script inside a book of another script
(and a longer one the detector tells unreliably) is the reader's own: it is left
out of the translation plan. The comment block, not only its text, takes the
double click and the right button.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Enter on a move (the move's menu, a double click on a comment, the ☰ menu) opens
the editor where the comment stands: after any move, in a variation too (the
flow is cut at the move), or at the start of the game; Enter — done, Esc —
cancel, Shift+Enter — a paragraph; another move writes the draft; one edit —
one undo step. Symbols of the move (! ? !! ?? !? ?!, Ctrl+1…6) and of the
position in the editor and in the menu. The right mouse button draws arrows
and circles on the board ([%cal]/[%csl] of the current move; colours by
modifiers). Existing comments are edited and deleted; their commands and
untouched bytes are kept. chess_core: with_text, with_shapes, shapes,
Game::set_comments_before. Dev hooks CP_COMMENT_EDIT, CP_TYPE, CP_SHAPE.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The cards row holds only databases; «+ Add database», «✚ New database» and
«🌐 Online games» stand beside «Databases» (folded to «+ ▾ 🌐» when narrow); an
empty shelf shows them as large cards. A database that takes games has «+ Game»
in its table header: a new game meant for it, whose Ctrl+S adds it there (the
target is dropped when the base leaves the shelf or stops taking games). The
chooser lists only databases that take games; with none, «✚ New database…» is
the main button; the UTF-8 copy is in the card menu (also for a file not read
yet). Built-in samples are read-only. An empty database has no filter panel or
search; a narrow search field says «🔍 Search». The table header keeps a short
database name. Task 8 closed: the quick search stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Desktop: «✚ New database» on the shelf (Ctrl+Shift+N), «Add to database…»
(Ctrl+Shift+S, 💾, ☰) for any game — new, pasted, from a ChessBase, online or
legacy-encoded database — into a PGN of the user's choice; Ctrl+S saves the
changes back into the game's own PGN (its record is replaced) or adds the game
when the source is read-only; the game data editor (F2, the title, ☰) asked once
when a new game is first added; duplicate check (same players, date, moves →
replace / add as new, no Enter); delete from the table with a question and Undo
(Ctrl+Z, 6 s, waits under the mouse); UTF-8 copy for legacy-encoded files with
the restored letters; online and ChessBase stay read-only. Writes are explicit:
append, or an atomic rewrite through a temporary file and a rename (through a
symlink, keeping the mode, syncing the folder), refused when the file changed on
the disk. chess_core::pgn::store: append/replace/remove/restore/write_utf8_copy,
find_same_game, pgn_date; Game::remove_tag and order_roster. Settings: your
name (annotator), the folder for new databases, the last target. Nine languages.
Also: library warnings (wgpu, winit) go to chesspenguin.log, CP_LOG_FRAMES=1
traces egui_wgpu frames (the GNOME hang hunt); dev hooks CP_OWN, CP_PASTE,
CP_COMMENT, CP_KEYS with Ctrl+, CP_SETTINGS=interface.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
packaging/icons/make-icons.sh makes every icon from one picture: the Linux hicolor PNGs
(the macOS .icns and the packages take them), the window icon, the Windows .ico, the
Android adaptive foreground (62 % of the 108 dp canvas) and a solid monochrome one for
themed icons, the site's tab, header and iOS icons. The site's link preview takes the
transparent icon and names Android too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- /api/update takes a 32-hex id, an x.y.z version and a known platform; at most 5 new
installations a day per address are counted (made-up ids do not flood the bot).
- A download's notice: once a day per file and visitor; notices name the country only,
as the texts promise; Android's text also says the system is sent.
- The release cache is not locked while GitHub is asked (one request asks, the others
get what is known); after a failure GitHub is asked again in a minute, not on every
request.
- An unrecognised desktop installation counts as 'other'; the bot logs a wrong token or a
second listener; .env.example lists the bot's settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The programs (desktop, Android) ask https://chess.vrubel.xyz/api/update for the latest
release instead of GitHub, with a random id of the installation (made once, kept in the
settings), the version and the platform; the site passes GitHub's answer on and keeps one
row per installation and day (no IP; the country of the address). Without the site the
programs ask GitHub, uncounted; with the update check off nothing is sent. /stats shows
installations that ran today, in 7 and 30 days, in all and new ones, by platform and
version. The texts about the update check and the site's privacy line say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nine interface languages. The system's language is picked up; Portuguese notation has its
own piece letters (R D T B C), Uzbek and Kazakh keep the Latin ones (the 'letters of
the language' choice is not offered for them). Uzbek o'/g' are written with U+2018 on
the desktop, whose font has no U+02BB. Comment translation targets the new languages too.
The shelf's two side cards widen for a longer label.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The library's Escape waits while a window is open over it (settings, notes); on the
board alone it first puts back a picked-up piece.
- A condition's chip clicked with the filters over the list keeps them open; widening
the window with them open over the board alone keeps the board.
- The list's header leaves the database's name out before taking a second line.
- The report's long names wrap in a narrow panel.
- In the 'Game modified' question Escape is Cancel when quitting the program.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The engine row: the name and depth go under the row when they do not fit beside the
evaluation (⚙ covered them in a 240 pt panel); alone, the name is centred.
- Stacked: the notation part grows by the engine's lines and settings.
- The toolbar wraps a group at a time, without a separator at a row's end.
- A move's cell is at most 160 pt (the notation under the board).
- The filters over the list cast their shadow to the left; the counter on a line of its
own loses its leading dot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
By the window's width alone (docs/design/narrow-windows.md §2): when the list would get
less than its least width beside them, the filters open over it (Esc, a click elsewhere
or the segment closes them) and the search board takes the list's place (Esc, the
segment or the counter go back). The header of the list is measured from its texts and
takes a second line when needed; the shelf folds into one line when its cards need more
than two rows or the window is low, its buttons showing icons when narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game screen is side by side or stacked by the window's size alone (stacked when the
board would be at least 1.25 times bigger so). The side panel never leaves the board
under 220 pt; the window's least size is 640×480 (docs/design/narrow-windows.md §3).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reference tab: the database box's text was shortened to the whole row (a wrapping row
reports it as available), and an 8 pt gap stuck out at the end of a full row; the
result bar was never given up. The content was 51 pt wider than the 320 pt panel, and
egui moved the panel left, under the board, from a 1200 pt window down.
- Engine settings: the slider gets what the measured names and values leave; under
100 pt the name and value share a line above a slider across the panel.
- Game header: the buttons are measured first; the title gets the rest and is shortened,
the result always shows; under 160 pt for the title the buttons show icons.
- CP_PANEL_CHECK=1 reports a side panel wider than its place (a debug build also marks
what widened it).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A text field keeps the place of its × (22 pt and a 4 pt gap) whether shown or not: the
row stuck out 4 pt once there was text, egui's side panel widened to it, the field grew
again… up to the panel's largest width.
- The colours row wraps (long words in French); a name field's «=» is on its caption's
line, so the field does not move when a name is picked.
- «Game»: Years, Elo, Moves, ECO on one grid — captions in a column as wide as the
longest, «from – to» and Elo with its rule in equal halves, one right edge; Result
after them (docs/design/large-databases.md §2.6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game's Escape is taken when it leaves: the question about unsaved edits, opened in
the same frame, read the same key as its own Escape and closed at once, so Escape seemed
to do nothing in a modified game. In the question Escape now goes on without saving (the
owner's choice); Cancel stays to keep editing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Guiding texts of a converted ChessBase database are texts again (§9.4): the converter
marks them (CbText), the list shows «📄 title», the header counts them, «show texts»
is offered, a text is no player and only tournament and annotator conditions keep it.
- The PGN filters' index is built in the loading thread, not on the screen's.
- Empty names last when sorting both ways (PGN and ChessBase).
- The quick search finds a date as the table shows it (18.10.2026).
- A position not applied for lack of memory: the arrow shows the order in effect.
- «21 текст», «3 текста»: plural forms of games and texts in the header.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A position not applied for lack of memory: the list in the view's own order (not
strongest first) and the counter of the filters only.
- The header shortens the database's name before the counter; the quick search keeps
the place of its × so it does not move on the first letter.
- Each set of table columns keeps its own widths (no stale widths after a resize).
- «Рез.» in the header, «Сбросить поиск» when only the search is set, «нет Эло»,
«ходов: N» and «тур 1.1» in a row's tooltip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- chess-import pgn_catalog: the tags of a PGN as ChessBase's filters, sorting and name
suggestions (tournament «Event (place) year», dates with any separator, rating, ECO,
length counted when there is no PlyCount, comments without clock marks); the quick
search (Filter::text) for PGN and ChessBase, ё folded as е; which fields a database
has. The PGN scan counts main-line and all moves and real comments; the position
table's memory is reckoned from the moves.
- Desktop: one view for all databases (large_db.rs): the PGN table and its small board
are gone; the quick search in the header with its chip, Ctrl+F twice to the filters;
downloaded databases sorted newest first by date; texts' checkbox only where there are
texts; an empty result says which field no game has; position search without memory
says so on the board and its chip; a reread keeps the conditions.
- Bench: the quick search on a large base.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Desktop: in a database from Lichess and Chess.com the «№» order is the time the games
were played, the most recent first (as on the phone); a click turns it around.
- chess-core GameEntry::played_at: the shared key (UTCDate+UTCTime, else Date).
- Android: over a downloaded database's games list the number of games grows with its
download (it stood still until the end), as on the list of databases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- crates/releases: the latest release on GitHub, its files and SHA-256 sums, shared by
the desktop updater and the phone (desktop update.rs keeps its installers).
- mobile-api check_release: a newer release with its APKs and sums; a desktop-only
release is no update, one without the light APK's sum cannot be checked.
- Android (android-ui.md §25): a check at start and on return once a day (switch and
«Check now» in About), a card over the databases, a sheet through the install
permission, the download (DownloadManager), the SHA-256, the full build keeping its
engine network, and PackageInstaller; the state survives restarts, the update's
snackbar waits for a screen. Network state permission for both builds (the full one
crashed without it). Debug builds may ask a test server (CP_UPDATE_API).
- Release notes on GitHub come from this version's CHANGELOG section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The downloads of the desktop (lookup by nickname, one database per site or both in one,
resuming without duplicates, games still being played fetched once they end) move into a
shared crate, online-games; the desktop keeps its window on top of it.
On Android, «Add a database» → «Games from Lichess and Chess.com»: a nickname, what each
site has, the download with its progress. It belongs to the app, not to the screen: the
list of databases shows how it goes and says how it ended. «Download new games» in the
database's menu and over its games list fetches only the new ones. The games of a
downloaded database are listed from the most recent one (by UTC date and time, both sites
interleaved). Both builds may now use the internet, only when the user asks.
Reviewed by an independent tester and designer (docs/design/android-ui.md §23, §24).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game analysis of the desktop (evaluations of the main line, judgements, accuracy,
cache and the engine job) moves into a shared crate, game-review, so both apps give the
same numbers. The desktop uses it unchanged in behaviour.
On Android, ⋮ → «Game analysis» runs Stockfish over the main line in its own process
(the live engine waits): an evaluation graph and a status row between the board and the
notation, marks in the notation, the better line of an error on the board, a report sheet
with both players side by side. Games with [%eval] and games analysed before show their
report at once. The analysis stops with the screen and goes on after it, also after the
phone is turned, and is cached as it goes.
Reviewed by an independent tester and designer (docs/design/android-ui.md §21, §22).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Variations move to Shift+↑/↓. Escape cancels a preview or a picked-up piece first, then
returns to the previous game or the library; a window, menu or dialog open over the game
(this frame or the last) keeps the key. CP_KEYS presses keys for manual checks.
Also drops an empty database of a local site run committed by mistake.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chess-import opens a database from its content (PGN, zip, 7z, cbv) and a
ChessBase database from the contents of its files: Android hands over file
descriptors, not paths. The text of comments as shown moves to chess-core
(comment_display_text), so the phone and the desktop show the same.
crates/mobile-api: a thin UniFFI bridge — open a database from a descriptor, a
ChessBase folder's files, or a path (tests); game rows a page at a time; a game
as a tree of moves with positions, last-move squares, NAGs and comments. It
builds for arm64-v8a and x86_64 with cargo-ndk (NDK r30, API 31) and its Kotlin
bindings generate with `cargo run -p mobile-api --features bindgen --bin
uniffi-bindgen`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The site lists the reference tab, games from Lichess and Chess.com, translated
comments and self-update, and the notation and animation under "Make it
yours", in six languages. Thirteen screenshots (three new: reference,
translation, online games) on the owner's green board with Merida pieces, the
"looks" one on another board. The translation shot shows a real ChatGPT
translation of our own German comments to Reti-Tartakower 1910, put into the
screenshot cache once (shots/translate-for-shots.py); the shots send nothing.
The app: "✕" next to the Chess.com nickname, "⌂" in board search and "✓" in
translation texts had no glyph (empty boxes): replaced by the bundled 🗙, 🏠
and ✔. A test now checks every character of the translations and the string
literals against the character maps of the bundled fonts. The online games dev
hook takes two nicknames.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The translation mark sat in a row with its comment, the row's width computed by
subtraction; rounding made it a pixel wider than the panel and the resizable
panel grew every frame (moves in comments jumped while the mouse moved). The
mark is now painted in the comment's corner, outside the layout, with room
kept by the frame's margin. Comments in variations use the comment size.
Engine lines keep their horizontal scroll without a visible bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan's /v1/models answers {"models": [{"slug", "visibility", "priority"}]},
not the API's {"data": [{"id"}]}: no model was found and requests went out
with an empty model (HTTP 400). Both shapes are read now and OpenAI's preferred
chat model is taken; a job without a model picks one itself. Check failures
show in Settings › Translation; translation errors go to chesspenguin.log. The
offer starts at a sentence or two of foreign text, and text in brackets is
translated (only [%…] commands are kept, and they never reach the model).
Verified with the owner's subscription: models listed, French comments
translated into Russian with their moves intact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings › Board & pieces: Nf3, ♘f3 as on Lichess, or Кр Ф Л С К (German
K D T L S, French R D T F C, Spanish and Italian R D T A C; in English the
Latin letters), with a sample per option and a line of a game. Only the shown
label changes (san::show): the game, PGN, copied games, the analysis written
into a game, the reference cache and every comparison stay Latin SAN. Applied
in the move list, engine lines, the reference tab, board search and the
analysis report. The figurines are egui's chess glyphs cut out to a 4.7 KB
font, a little smaller and on the baseline. Latin remains the default.
Reviewed by the designer and the tester agents.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a game's comments are in another language, ChessPenguin offers to translate
them into the reader's: with the ChatGPT Plus/Pro subscription (Sign in with
ChatGPT: OAuth with PKCE in the browser, a loopback callback, tokens refreshed
one at a time), or an OpenAI-compatible API key (DeepSeek, OpenAI, Gemini, a
model on this computer with Ollama or LM Studio, another address). After the
first consent, games in other languages are translated as they are opened;
[Original | Translation] (Ctrl+Shift+T) switches back.
Only comment text is sent; the model gets strict instructions and a glossary,
and every answer must keep the moves and squares of the original, or the
comment stays in the original with a mark. Translations are never written to
the PGN; a cache keeps them per language. Keys and tokens live in a 0600 file
apart from the settings. Settings › Translation holds the target language,
when to translate, the connection, permissions and the cache.
Also: the monospace font and three glyphs of Noto Sans Math are text fallbacks,
so arrows and the evaluation signs ⩲ ⩱ ⌓ no longer show as boxes.
Reviewed by the designer and the tester agents (two rounds).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A move slides with chessground's easing: each piece of the new position slides
from the nearest square that held the same piece, a piece left over fades out,
so castling moves king and rook and a jump over several moves slides each piece
once. Settings → Board: Off, Fast 120 ms, Normal 250 ms (default), Slow 500 ms.
A piece dropped by dragging does not slide (the castling rook still does);
picking up a piece in flight takes it from its square.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Windows 10 user saw the program quit silently after SmartScreen: a Windows
program has no console, so a failed graphics start left no trace. A start that
fails or dies before its first frame now tries again without Vulkan, with
OpenGL, then with software drawing (WARP), and keeps the mode that worked; what
no mode overcomes, and any panic, goes to a message box and chesspenguin.log.
The C runtime is linked statically (no VCRUNTIME140.dll needed); CI checks that
and starts the window on the GPU-less Windows runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The last nickname was put back each time, to be erased before searching for
another player; the databases already downloaded update with "⟳ New games".
The nickname is no longer kept in the settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reference tab no longer slides under the board on a laptop screen with
200 % scaling: the games table narrows its player columns to the panel, the
moves table shows a column only while it fits, its heading lines wrap, and the
board gives way in a tall narrow window so the reference keeps 320 px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pending Lichess games are asked about by id; broken connections are retried with waits;
a file lock keeps two running ChessPenguins from writing one database.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the window and the shelf speak of any player's games (yours, a pupil's, an opponent's)
- a database is claimed by one download at a time; updates write into the database itself
- merged databases of different nicknames get names of their own
- the state remembers the file length and its last bytes: what a crash appended is cut off
- a deleted database is downloaded again; a partial download goes on the shelf
- Lichess games still being played are fetched once they end (correspondence)
- downloads stop and save on quitting; results show as a toast when the window is closed
- New games button with the time of the last download, disabled offline; 🌐 on online databases
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>