Automatically save opponent preparations and start the opening-error engine when the report is ready, while preserving manual Stop and saved evaluations.
Remove the book comparison from opponent preparation: its UI, background work, algorithm and development hook are gone. Legacy saved data remains readable and is preserved for a possible future revert.
Align game counts, error counts and percentages in the preparation summary and refresh the architecture and team documentation.
Opponent preparation, !! and ! in the game review, the reference tab, search by
position, 100 classic games and the Android app (no longer alpha); the gallery
takes the current English screenshots of the website plus the opponent
preparation. AppStream's default screenshot follows the new file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mobile-api GameReview.start(path, eval_file, full): the fixed search in
one engine process per core (at most 4, by free memory), nice 10;
ReviewState.stale, nps_per_process; review_estimate_secs().
- The start sheet keeps the description, the time and one button; quality,
«Start over» and «Analyse again» are gone; a stale analysis offers
«Update», evaluations of the PGN «Analyse with the engine».
- docs/decisions.md: the owner's decision with the numbers (search, memory,
times, the first chess.com check); android-ui.md §21.2; chess.com README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core: the most precise opening name stays down a line (a deeper position the
table names more generally, «Sicilian Defense» after 3.d4, does not take it
back), in the games' names and in the tree; one name per position across move
orders; the games and the last date of a position over all its move orders;
`evaluated()` (evaluations from the cache count). Report version 3.
Screen: errors judged from cached evaluations show without a run; «Checked N of
M positions · Continue» after «Stop» or a new depth; the report shows the book
only when it was computed with the chosen one; the dialog keeps the remembered
book and the same player reopens with the dialog's colour and book; «Deeper»
and the depth list share one path (setting kept, report from the cache); a
chosen error survives re-judging during the run; quitting during the run asks
first; Ctrl+W returns from a game opened from the report; a game opened at an
error opens after the move, a repeated error at its newest game.
Design (§12): the summary as a grid whose columns give way, counts in the
colours of the signs; result bars without numbers, faint over few games; move
lines numbered at White's moves; whole-move first-move lines; colour icons in
the openings table; ECO kept beside the name; the errors tab as one table with
row selection and keys (↑/↓/→/←/Enter); colour lines there only in the stack;
«Inaccuracies» switch (kept in settings) for the tab, the summary, the tree and
the games; «▾» at the right end; one colour order; the depth caption by the
room left; names first in narrow game lists; two-row games minimum in a low
window; the caption beside the stacked board; «others (N)» when narrow.
Designer's review recorded in docs/design/opponent-prep.md §12.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sound piece sacrifice is !!, the only good move that turns the game is !,
by the rules of docs/research/brilliant-moves.md. Sacrifices come from a static
exchange count over the board (features.rs); the best other move comes from a
second engine search (searchmoves) only where the move played was the engine's
best and could be either. The marks go wherever errors go: report, notation,
graph, board badge, and into the PGN as $3/$1 unless the author's sign is there.
An older analysis is filled in by Update without evaluating it again.
The Android board now draws the move's mark in the corner of its square, as the
desktop does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Android «About»: no «alpha» after the version, a text that says what the app does now
(chess databases, game analysis, play against the computer), and the penguin in a crown
as the app's icon has; packaging/icons/make-icons.sh makes that picture too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner puts the app in RuStore: the store updates it, and the store's build
must neither update itself nor be counted by the site. A build type «rustore»
on the same branch (not a branch to catch up each time): the release with
SELF_UPDATE off — no check of releases (the check is what the site counts
installations by), no download or install, no updates block in About, a
release kept from the site's build forgotten; its manifest drops the install
permissions and the installer's receiver. The full build only; the same
package and key, so it goes over the site's one and back with the databases.
release.sh builds it into dist-rustore and checks it asks for no install
permission; the release workflow keeps it as the run's «rustore» artifact, not
a file of the release. The site's builds are as they were.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's choice: the extended FAB hung over the list; «+ Add» now sits in
the Files heading as «+ New database» in My databases, each group with its
action on the right, with a hint line when there are no files. Nine languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
During a game against the computer the header's chip shows its control («5+3»,
«∞») where the result comes after it. The players' cards show the king of the
board's piece set instead of ♔/♚, the state line under the name. The player's
clock turning red is heard once a game: a double tick made of Kenney's
tick_004 (CC0), every sound set; a game put aside with the time already low
goes on without it. «The game is on» says which game: «Maia 1550 · you play
white · 5+3 · move 5», as the card of a game put aside. Reviewed by the
designer and the tester.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner did not hear of 1.8.0 a day after 1.7.0: the phone asked only 24 h after its
last answer, restarts included. Now each start asks, as the desktop does; a return to
the app asks 6 h after the last answer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's choice: in rapid, classical and games without a clock «↶ Take back» is not
offered, and Ctrl+Z does nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The play sheet chooses Maia or Rodent IV, and Rodent's character in a full-screen
list (docs/design/android-rodent.md, docs/decisions.md «Rodent IV на телефоне»).
The engine is built from its authors' sources by androidApp/scripts/rodent4.sh
(patches: no wordexp.h on bionic; the search thread took its parameter by reference,
which clang builds read after it was gone) and ships in both APKs; the opening books
are one checked download. Rodent's tables, its book manifest and its opponent loop
move from the desktop into crates/play, shared by both apps; uci's EngineConfig takes
an environment (RODENT4HOME).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
«⏸ Put aside» in the game, the main answer of «The game is on» and closing the
window put the game aside: its journal stays, with what it is played with and
the side to move's time. A card on the library's shelf (a strip in a folded
shelf) continues it with the clocks where they stopped; a crash leaves a game
put aside too (said once). A new game over it asks first; letting it go writes
it unfinished into the player's database, and a failed write keeps it.
A missing opponent is downloaded before it goes on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner approved the designer's «А» for the games list and «Б» for the
databases screen:
- Games: a thin line between games, a disc of each side, the winner's «1»
on a tile (and the name a little heavier), «½» on quieter tiles, the ECO
on its own tag that never gives way; the game last opened marked and in
sight; search matches marked, the ECO tag too. Search finds by the ECO.
- Databases: badges by kind in Catppuccin colours (Mocha dark, Latte light:
PGN blue, ChessBase peach, archives mauve, online teal, own green, ♞ for the
player's); the number of games stands out; groups as cards (16/4 dp
corners, 2 dp apart); the game put aside with its position on a small board
(no coordinates) and «Continue»; two equal, quiet buttons.
- Settings as cards with icons; the add sheet's icons in tiles of the kind.
- Fixed on the way (the tester): a list read anew after a quick new search
could show another game's names in a row; clearing a search goes back to
the top; tiles, tags and buttons grow with a large font.
Reviewed by the designer and the tester on the emulator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As on the desktop (decisions «Партии игрока записываются сами», «Сила
соперника — по шкале самого движка»):
- mobile-api: Maia plays the rating on the slider, temperature 1; the sheet
says it is her own rating, not a person's Elo.
- PlayerGames: «<name> — games against the computer» (no name: «Games
against the computer»), an own database made at the first game; a game
ends → written once (the mark kept with commit, guarded by the game's
serial against a rematch); a game put aside and let go (×, «Start new»,
Maia failing) → written unfinished, once both have moved.
- Play sheet: «Your name» with the phone's players (filtered by what is
typed), the line where games go; result card «✓ В «…», № n ›» (a new
database said there), opens it; no third button; a failed write said
with its reason. ♞ on the row, «пишутся сами»; a setting.
- «Play from here» and «Continue it» inside a play game show the new game.
Checked on the emulator by the tester (kill right after the end, rematch,
rename/delete of the database, setting off) and the designer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/research/player-games-db.md, docs/design/player-games.md, decisions
«Партии игрока записываются сами» (desktop; Android next):
- «Roman — games against the computer» (without a name, «Games against the
computer»), made at the first game in the folder of new databases; only
new records are appended.
- During a game a journal after every move (a lock held while the program
runs); a crash leaves it to the next start, which writes the game once,
unfinished. A failed write keeps the journal until the game is saved
elsewhere or left.
- The play dialog says where the games go (wraps under the name), a ▾ list of
the computer's players with their ratings (↓/↑ in the field); a toast when
the database is made; the result strip «Written to the database, No. n ·
Open» instead of «Save to a database…»; the leave question names it.
- ♞ on the player's card and in the folded shelf; a checkbox in Settings →
Interface → Your databases (on).
Checked by the tester (crash, failed write, two instances, names, files of
the same name) and the designer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dialog (docs/design/rodent-opponent.md): «Maia · Rodent V» tiles, one
strength slider for both (Maia's zone marked; past it Rodent is chosen at
once), Rodent's style (Balanced, Attacking, Chaotic, Restricting, Classical,
Tal, Tal (network)) always in its place, greyed for Maia. Rodent V 1.2 (the
authors' release, pinned SHA-256) is downloaded and unpacked with its
personalities, nets and books; it plays through UCI at UCI_Elo from the
measured table (provisional until the measurement ends), with its book,
after Maia's human pause. Its own texts where Russian makes Maia «she» and
Rodent «he». The download helper is shared with Stockfish's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The slider shows Maia's measured strength on the Lichess blitz scale
(1100–2000, step 50); per-model tables turn it into her rating input.
- The large model plays every strength once downloaded (316 MB); with only
the small one, up to 1800, above it «Download and play» brings the large.
- The network runs on half the cores; Maia's clock takes the computing
when it is longer than her pause.
- A rematch or a game from a position whose model is missing reopens the
dialog with the same choices; the main button keeps its width; no game
while a download runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
«⚔ 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>
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>
Comments were reflowed word by word, so a book comment's paragraphs became one
after Ctrl+S or «Add to database». Lines are still reflowed, blank lines kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card on Databases: the new version, «you have …», one button and ×. × turns
«Offer new versions» off (a snackbar says where to turn it on, with Undo); the update
check and the installation counting go on. Settings → About: «Offer new versions» above
«Check for updates at start»; a new version is shown and installable there regardless.
'What's new' (GitHub, English) is gone from the card, the sheet, About and the
after-update snackbar; the old per-version hiding is dropped (android-ui.md §25, §28).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game screen's top bar had both names on one line beside three buttons, so Black's
was cut; the games list split one line between them. Now (android-ui.md §6.2, §7.7, §7.11):
the player bars stand above and below the board (Black above, swapped with the board;
beside it in landscape), each with the side's disc, the name in full while it fits, the
rating and the share of the result; the top bar names the event, year and round, a tap
shows the game's details. List rows are 80 dp: White, Black, then event · year · ECO,
read by TalkBack as one sentence.
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 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>
- 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>
- 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>
- 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>
- Paste: «Add a database» offers the clipboard's games when it holds text; they are kept
in the app as a copy (one game opens on the board). Text with no game is said so.
- Open with / Share: PGN, ZIP, 7z, .cbv from other apps are copied in, listed and opened;
one copy at a time, the last one shown; not again from Recents; a lone .cbh says to
add its folder. A copy is marked «copy» and removing it deletes it.
- Engine: the button turns it off again; its words reach the screen up to 5 times a
second and redraw only the strip and the arrows; Stockfish runs at nice 10 (uci
EngineConfig::nice) with 2 threads by default.
- PGN scan: tags right after a result on the same line start the next game.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
«Добавить базу» offers a file or a folder. A folder is looked through two levels down;
the databases found are offered with tick boxes: PGN, archives, .cbv and ChessBase sets
(.cbh with the files beside it, names in any case), each a separate entry. A .cbv beside
its own set is not offered twice, a set without its .cbg is shown but not added, and
databases already on the list (also picked as a file) are marked. The folder's read
permission is kept while one of its databases is on the list or can still be restored
with Undo, and access no entry uses is given back at start. A moved file or a missing
.cbg is said in plain words. Reviewed by the designer and the tester.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>