Commit graph

136 commits

Author SHA1 Message Date
vrubelroman
8c04196d49 Desktop: the engine panel keeps its height between positions
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 03:19:08 +03:00
vrubelroman
df59ff1b32 Notation: moves in Ubuntu Bold (desktop) and bold (Android); Medium dropped
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 03:04:55 +03:00
vrubelroman
1f27c2ae57 Bolder moves and marks; «Блестящий», «Замечательный» in the report
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 02:59:14 +03:00
vrubelroman
2e145dc362 Review: both rule sets of !! and ! kept (Strict, ChessCom); ! is «Замечательный ход»
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 02:23:19 +03:00
vrubelroman
68e2f49e3f Review: !! and ! calibrated on chess.com's marks of the Evergreen game
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 02:00:23 +03:00
vrubelroman
27a9c32588 Great move (!) back in #81B64C, chess.com's green as the owner picked it
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:31:10 +03:00
vrubelroman
36846b2e68 Inaccuracy (?!) back in Lichess blue
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:27:25 +03:00
vrubelroman
42828e900c Great move (!) in chess.com's own green, #7AAB59
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
#81B64C was their best-move color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:23:13 +03:00
vrubelroman
df6ad23b45 Move marks in the owner's palette on the desktop and Android
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
!! #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>
2026-10-28 01:15:53 +03:00
vrubelroman
4ffe45363d Desktop: the draw offer button is «½–½», its words in the tooltip
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:04:53 +03:00
vrubelroman
424c7830e7 Notation: the review's mark right after the move, in its color; no reasons
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-28 01:00:29 +03:00
vrubelroman
1aa85f59d3 Review: brilliant (!!) and great (!) moves; Android board shows move marks
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-28 00:47:44 +03:00
vrubelroman
a5a96671c9 Translation: low reasoning effort for ChatGPT, three requests at once
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-27 23:14:46 +03:00
vrubelroman
93644799d4 Desktop: game counts on the database cards, the rating over the slider, even game buttons
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-27 23:00:29 +03:00
vrubelroman
5b585b0dee Desktop play: the time control in the header, the set's kings, a low-time tick, which game is left
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>
2026-10-27 17:09:20 +03:00
vrubelroman
684195f32c Release 1.9.1
Some checks failed
Release / version (push) Has been cancelled
Release / publish (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-27 16:08:27 +03:00
vrubelroman
8e79a888ef Desktop: downloads are written beside and put in place, not rewritten
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-27 12:07:54 +03:00
vrubelroman
fa2be527c6 Desktop: a move is taken back only in a blitz game against the computer
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-27 11:56:44 +03:00
vrubelroman
1504ac6334 Desktop: macOS takes Rodent IV build 2 (the search thread fix)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-27 10:43:50 +03:00
vrubelroman
b3774d1651 Android: Rodent IV as a second opponent, with its characters and famous players
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-27 03:03:02 +03:00
vrubelroman
3dac4a185b Desktop: a game against the computer can be put aside and continued
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
«⏸ 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>
2026-10-26 23:57:45 +03:00
vrubelroman
50888b12cd Desktop: no disk in the frame for the shelf's files (a lost network drive froze the window)
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-26 22:51:48 +03:00
vrubelroman
8f6244cf59 Release 1.7.0
Some checks failed
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 22:42:28 +03:00
vrubelroman
69c5fa3ed1 Rodent IV's characters are called in the app's language (Защитник, Удав…); the record keeps the engine's English name
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:24:01 +03:00
vrubelroman
d6ede805a0 Rodent IV: the sums of the published builds (rodent-iv-0.33): its styles are offered
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 21:21:49 +03:00
vrubelroman
3fe82551ce Play: Rodent IV's characters and players in Rodent's list of styles
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rodent IV / build (rodent-iv-linux-x86_64, ubuntu-22.04) (push) Failing after 41s
Rodent IV / build (rodent-iv-macos-arm64, macos-14) (push) Has been cancelled
Rodent IV / build (rodent-iv-windows-x86_64.exe, windows-latest) (push) Has been cancelled
Rodent IV / publish (push) Has been cancelled
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>
2026-10-26 20:53:49 +03:00
vrubelroman
56a30622fd Play: the engine's strength only in its name, no Elo tag (desktop and Android)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 16:33:38 +03:00
vrubelroman
aa136fb85e Play: each engine on its own scale (Maia 600–2600, Rodent V 800–3000)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 15:48:59 +03:00
vrubelroman
300430f2a8 Play: games against the computer go by themselves into the player's database
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-26 15:33:35 +03:00
vrubelroman
e1292bff3f Play: designer's review of the Rodent dialog; each style's strength measured at four settings
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- 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>
2026-10-26 04:05:02 +03:00
vrubelroman
251b454bba Play: each Rodent style at its own measured strength
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 03:51:56 +03:00
vrubelroman
f54f4d924d Play: tester's findings on Rodent V
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- 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>
2026-10-26 03:39:04 +03:00
vrubelroman
88027f8325 Play: Rodent's measured strength (2250–3000; his lowest setting already ≈2250)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 03:30:55 +03:00
vrubelroman
6129359779 Play: Rodent's strength table from the measurement so far (1900–3000 on the Lichess blitz scale)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:05:57 +03:00
vrubelroman
04d337c106 engine_download: a type for a download's job
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:03:09 +03:00
vrubelroman
73593ddfc5 Play: Rodent V as an opponent (desktop): downloaded on request, strength and style
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 03:02:55 +03:00
vrubelroman
b90bcdf3a3 Offer Maia a draw (desktop and Android)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 02:44:05 +03:00
vrubelroman
57cc4b2360 play: the tags of a game against Maia shared (desktop and Android)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:14:40 +03:00
vrubelroman
9e00d046b0 play: a game against Maia's rules as a crate (ending, pause, resignation judge)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 01:10:34 +03:00
vrubelroman
5911750506 maia::strength: the strength tables and the choice of a move shared; Android trainer screen
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 01:05:04 +03:00
vrubelroman
bb2ef38ef6 trainer: the opening trainer as a crate shared by the desktop and Android
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-26 01:00:11 +03:00
vrubelroman
dbcfe81856 Play: Maia up to 2100 (surer choices above a model's top), measured with random openings
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:11:02 +03:00
vrubelroman
ca0a60c5b6 Play: Maia's strength tables measured down to the bottom of the slider
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:10:20 +03:00
vrubelroman
8f94403aa9 Game analysis: options other than the defaults count as chosen before
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:03:16 +03:00
vrubelroman
9c9f7e9178 Game analysis: «Analyse» starts at once with the options chosen before
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-25 22:47:39 +03:00
vrubelroman
d4cccb3f68 Play: the large Maia (79M), the slider in real strength
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- 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>
2026-10-25 22:20:09 +03:00
vrubelroman
f90c636dd7 Play dialog: the strength slider alone (no Weaker · As me · Stronger)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-25 16:42:57 +03:00
vrubelroman
319e8808ab Library title row in three groups: databases | a game to enter | Play
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-25 15:21:04 +03:00
vrubelroman
a5614d91fc Paste a line, play on from here, learn the opening
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-25 14:51:09 +03:00
vrubelroman
53da355044 A defeat sound when Maia offers to resign
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
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>
2026-10-25 13:11:16 +03:00