For one frame after each move the panel had no lines (the old ones gone, the
new not yet come) and was 42 px shorter: the notation below jumped up and back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The designer compared JetBrains Mono: in a monospace face !! and ?? fall apart
and O-O-O reads as 0-0-0; the Ubuntu family stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ubuntu Medium and Bold (Ubuntu Font Family 0.83, official release, UFL 1.0)
for the notation's moves and the board's marks on the desktop; heavier weights
on Android.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first rules stay beside the calibrated ones, selectable through
game_review::Rules, to compare them on annotated games and to go back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sacrifice is a piece the move itself gives up; every move of a combination
is marked; a piece saving itself on the only good square and the only good
move of an equal position can be great. 7 of chess.com's 8 marks agree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
!! #26C2A3, ! #81B64C, ?! #F7C631, ? #FFA459, ?? #FA412D (from the owner's
reference); darker variants for text in the light theme; the judgement colors
now come from the NAG colors, and the accuracy follows them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As on Lichess: «Qg7??» in red instead of a pill at the cell's edge, on the
desktop and on Android; the author's own sign stands instead when there is one.
!! and ! get no block under the move (the reason line was more than needed).
Task 18: a shorter draw-offer button.
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>
Each request waited for the model's full default thinking, and the batches of a
long game went one after another. A model that rejects the effort is asked again
without it; the first error still stops the job.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cards said «not loaded» for databases not opened yet; a background thread now
counts them one by one and remembers the counts by file size and time. The play
dialog's strength follows the slider's handle. The game buttons are of one height,
navigation on one row and the game's actions on the next.
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>
macOS: Rodent IV from rodent-iv-0.33-3, built with its home folder (it found
none of its personalities, so no game against it started).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On macOS (Apple silicon) Rodent IV build 2, downloaded over the 1.7 build, was killed
at its first start: the kernel keeps the signature of an executable that once ran, and
the file had been rewritten in place. The owner's Mac ran the same build fine from a
fresh file.
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 macOS build of rodent-iv-0.33 (clang) searched garbage out of its book; the Linux
and Windows builds (GCC) stay. Each platform pins its release; an install from another
release is offered again, and files that did not change are kept, not fetched again.
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's window froze for about a minute when the network dropped during a
game; its main thread waited in rpc_wait_bit_killable: an NFS mount (hard)
holding a database of the shelf. While a game is shown the reference tab's list
checked every shelf file's existence each frame, and the library asked sizes,
permissions and existence the same way. file_state.rs: a thread of its own looks
at the files the screen asks about every 3 s; the screen reads what it last
found (a file not looked at yet counts as there). The first database at start
is read in the background without a check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Downloaded through the dialog end to end: the engine from our release, the
personalities and books from the authors' repository, the misnamed books
copied, the game against Rodent IV 2000 (Petrosian) started.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner: «заюзаем rodent 4 со всеми его стилями». One opponent «Rodent»:
its list gets Rodent IV's 13 characters and 22 players (sorted by their names
as shown, the Tals side by side); the engine follows the style (Rodent IV's
UCI_Elo 800–2800), «Rodent IV 2000 (Petrosian)» in the record. Texts say
«Rodent» where they said «Rodent V».
Rodent IV's authors publish no builds for Linux and Windows: the workflow
rodent-iv.yml builds it from their sources at a pinned commit (with one fix,
packaging/rodent-iv/home-dir.patch: on Linux it now and then took a wrong home
folder and played without its personality) into a pre-release that is never
«latest». The app downloads that build and the personalities and books from
the authors' repository at the same commit (scripts/rodent4-manifest.py →
rodent4_files.rs), each checked; three misnamed books get a copy under the
name their personality reads. Until the build's sums are written in, Rodent
IV's styles are not shown.
Reviewed (tester and designer in one) with a local build (CP_RODENT4).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner: these are the engines' own ratings, «без поля эло, просто
число» — «Maia 1550», «Rodent V 2400 (Tal)»; the player's own rating keeps
its Elo tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's decision: no conversion by our measurements. Maia plays the rating
on the slider (temperature 1, the large model when it is there, else the small
one), Rodent V its UCI_Elo; under the slider: these are the engines' own
ratings, not a person's Elo. No automatic switch past Maia's top; changing the
engine brings the strength into its range. Styles without strength ranges.
The journal test waits out a lock held for a moment by another test's child
process (it gets the parent's files until it runs its program).
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>
- One scale for every choice (1100–3000); the thumb stops at the style's top.
Under the track Maia's zone and Rodent's with the style chosen, the chosen
one lit.
- Each style shows its strengths in the list and under it; a word under the
slider goes when the strength or the style changes.
- Enter plays only when no control has the focus and no list is open.
- The style list as tall as the buttons; «Balanced», «Tal», «Tal (network)»
without a repeated name.
- The bar: Rodent's style on the second line; in a narrow panel the clock's
digits get smaller before the name is cut, the same on both bars.
- Style tables from 2400 games (800/1600/2400/3000): research/rodent.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The styles play weaker than the balanced Rodent at the same UCI_Elo (by 115
to 680 Elo: Tal and Hector the most), measured at two settings so far. Each
style has its range (Tal ≈1850–2650, Balanced 2250–3000); the slider's top
follows the style and a style change keeps the strength inside its range,
saying so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The slider no longer flips between Maia and Rodent while dragged through the
gap between them (2100–2250): Rodent stays, at his lowest.
- The result strip names Rodent in his games («Left: you … · Rodent V …»).
- The opponent's name in the side panel stays on one line (cut, whole on hover).
- Remembered settings outside the opponent's range are brought into it.
- Changing the opponent cancels «Download and play» for the other one.
- A Rodent folder counts as installed only with nets and books and a mark
written after it started (a cut-short unpacking is downloaded again).
- «Did not start» in words, the details to the log; toolbar and move-menu
tooltips name the computer, not only Maia; 48 MB, not 49.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bottom of the chain is now tied to the Maia-1 bots and Maia-3 levels
(6300 games): the table moves up; between Maia's 2100 and Rodent's 2250 nobody
plays and the slider passes over it, saying so. research/rodent.md: the
measurement.
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 shared rule (play::accepts_draw): she accepts when clearly worse or mated,
or when about level (at most +0.2 for her) and her last three scores agree
within 0.3; after a refusal, again two of her moves later. Her judge keeps the
scores of her turns. Desktop: «½ Offer a draw» beside «Resign»; Android: a
«Draw» button in the game's bar (labels may take two lines).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
How a game ends, Maia's pause and her resignation judged by an engine move
from the desktop's play.rs into crates/play; the judge wakes the app through a
callback and takes engine options (Android's EvalFile). The desktop uses it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The measured tables (strength → rating input, temperature) and the choice of
Maia's move (rare moves dropped) move from the desktop's play.rs into the maia
crate; the desktop plays by them. Android: «Learn the opening up to this
move» in the move sheet opens the trainer over the game (tasks bar, wrong
move lit for 400 ms, «Show the move» after three mistakes, the result card).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apps/desktop/src/train.rs moves to crates/trainer; the rule of a move (right,
the last one, wrong) becomes Training::judge, the desktop uses it; the app
names the stats file (set_file). The line's last move comes in plain SAN; the
desktop shows it its own way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dialog comes the first time (no analysis started from it yet) and with
«Analyse again…». The analysis options are now saved when changed. Dev
hook CP_REVIEW=ask presses «Analyse».
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>
The owner found the relative buttons silly: the slider sets Maia's strength;
named levels (ranks) will come after the study of what Maia's ratings mean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's order: «+ Add database · ✚ New database · 🌐 Online games», a line,
«♟ New game · 📋 Paste PGN», a line, «♞ Play»; Settings on the right. The
narrow row (the database list) keeps the same groups.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paste a line from the clipboard (Ctrl+V on a game, the move menu, ☰):
chess-core paste.rs plans where the text fits without touching the game — a
PGN game where its moves part from this one along any branch, or where one of
its positions occurs (another move order, noted); a fragment (SAN, numbered
or not, «…» for black, UCI) after the selected move, instead of it, or at its
move number — and grafts the new moves with their comments, symbols and
variations (the pasted game's alternatives along the way too) as one undo
step, the players' names after the line. A game with no position in common
is refused with a message; a line going elsewhere than the selected move is
asked about; an impossible move inserts nothing.
Play on from here (the move menu, Ctrl+G on a game, ☰): the play dialog shows
the position on a small board and the game it comes from; the new game holds
the moves up to it (Maia sees the history, repetitions count), dimmed during
play, with a comment saying where it comes from; take-backs, abort and resign
count only the new moves; the source game waits under it («⬅ Back to the
game»); the side to move plays by default, a rematch keeps the colour.
Learn the opening up to this move (the move menu, ☰): a training screen over
the game; the user plays both sides; a wrong move is counted, shown for
400 ms in red with a short sound and taken back; from the third mistake on a
move «Show the move» puts an arrow (the run marked with a hint); at the end
the mistakes by move, the line's runs (last, best, clean in a row, recent),
«Again» (Enter). Runs are kept in training.json by the line (start position
and moves), shared between games; an entry or a file that does not read is
kept aside, not lost. New sounds Wrong (Kenney, CC0) and Success (Lichess
Victory, Kenney).
Keys of the game do nothing under a modal question or dialog. Dev hooks
CP_PASTE_LINE, CP_PLAY_FROM, CP_TRAIN, CP_TRAIN_MOVES, CP_TRAIN_KEEP,
CP_TRAINING_FILE. Texts in nine languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every sound set gets a Defeat sound, played when Maia offers to resign: the
Lichess sets their own Defeat.ogg (sfx, piano, futuristic, nes — Enigmahack,
AGPLv3+, unmodified), the Kenney sets a falling tone of «Interface Sounds»
(CC0: clicks minimize_006, the pair of its checkmate maximize_006; wood
minimize_008; glass minimize_004), leading silence trimmed and the peak matched
to the set's checkmate sound. Sources in THIRD_PARTY_NOTICES.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>