Commit graph

22 commits

Author SHA1 Message Date
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
0833b1eabf Release 1.9.3
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 / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
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>
2026-10-27 20:37:07 +03:00
vrubelroman
6bb0ef2414 Android: «+ Add» in the Files heading instead of a floating button
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: 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>
2026-10-27 17:09:20 +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
f120c49fd4 Android: the lists dressed up (docs/design/android-lists.md)
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 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>
2026-10-26 19:29:04 +03:00
vrubelroman
07a9e120b1 Android: Maia on her own scale (600–2600); games written into the player's database
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 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>
2026-10-26 16:30:16 +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
a3eac74491 Android: fixes after the second test (trainer on its side, a game put aside is asked about, offer and take-back, late offers, Maia's failure, the report after a rematch)
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 trainer lays out beside the board when the phone lies on its side.
- A new game while one is put aside asks «Continue it / Start a new one»; the
  card of a game just put aside is scrolled into sight.
- Take back during Maia's offer removes only the user's move and the offer;
  her judge's answer is waited for up to 2 s, so the offer comes on time.
- Maia not starting: a card «Download Maia again / Abort», no raw error.
- A rematch drops the report of the game before; «Analyse» puts the result
  card away; the card goes at the first change after the end.
- Back from the trainer returns to its move; an empty game is not put aside;
  the first sound is loaded at start; «Viewing: …», «Ещё раз».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:13:20 +03:00
vrubelroman
8e7eb7863f Android: designer's review (wrong-move flash seen on dark squares, result card buttons fit, Maia's bar without a doubled rating, «You», titles never a bare year, no menu during a game, «Viewing · back to the game» strip, trainer's count beside its message)
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:35:08 +03:00
vrubelroman
ed7d040bad Android: fixes after testing (saved copy asks on leaving, forms survive turning, names, cleanup, dates), Maia's «thinking…»
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 copy saved into an own database is that database's game: leaving with
  new changes asks; the source file's paging goes.
- The save sheet, data form and leave question survive turning the phone; the
  form starts from the game each time it opens.
- A new database's default name is free («My games 2»); an own file left by
  a deletion whose Undo was cut short is removed at start.
- «Undo» in the menu; «Make it the main line» offers Undo; «Elo» translated;
  31.02 is not a date.
- «thinking…» with a spinner beside Maia's name instead of the result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:28:04 +03:00
vrubelroman
df22d2812d Android: sounds (the desktop's SFX set and the trainer's wrong move), a «Sound» setting
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Moves (capture, check), the end of a game against Maia, her offer to resign,
the trainer's right, wrong and last moves. Notices in About.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:23:00 +03:00
vrubelroman
66f86ae3e5 Android: games against Maia (small model, no clocks)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
«Play with Maia» on the Databases screen and «Play on from here with Maia…» in
the move sheet: the strength (1100–1800), colour and name; Maia's 21 MB
downloaded there. The game is a mode of the game screen: Maia answers after a
person's pause (shared rules), take back, resign or abort, Maia's offer to
resign judged by Stockfish when it is there; the end card offers analysis,
rematch and saving. The game is written after each move: «back» puts it
aside, the Databases screen offers to go on with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:21:47 +03:00
vrubelroman
a7c832b8c9 Android: CheckedDownload shared by the engine's network and Maia's weights
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 system download with SHA-256 check moves out of EngineFiles into a class
for any such file; EngineFiles keeps its behaviour (same preferences key);
MaiaFiles fetches the small model of the pinned revision on request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:07:21 +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
45a37fc65b Android: the game's data form (players, ratings, event, date, result); a new game's first save asks for 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
mobile-api: set_data keeps the Seven Tag Roster whole and in order, as the
desktop does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:56:54 +03:00
vrubelroman
3596336cfe Android: new game, own databases (create, rename, export, delete), save and leave questions
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Databases screen: «New game», «My databases» first, then «Files». A game
being changed lives in a ViewModel (the phone may turn). Save puts an own
game back in its place; a new game or a copy goes into an own database
chosen once (or made there), later saves replace it. Leaving with changes
asks only for own and new games.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:54:16 +03:00
vrubelroman
08aac5d83b Android: moves on the board (tap-tap, drag, legal dots, queen), variations, move sheet, undo
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 game of a database is changed in memory (never saved into someone else's
file): a move extends the line, follows an existing one or becomes a
variation; a long press on a move offers make-main and delete (with Undo);
the menu's Undo takes any change back. Research: Maia's strength against
people, reviewed from the literature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:39:08 +03:00
vrubelroman
bb329ba17d Android: the update offer without GitHub; × stops the offers until 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
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>
2026-10-24 14:47:42 +03:00
vrubelroman
df2ee6f528 Installation counter after review: strict input, limits, country only, GitHub outages
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- /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>
2026-10-24 14:08:05 +03:00
vrubelroman
1edbbda368 Count installations that run: the update check goes through the site
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>
2026-10-24 13:45:15 +03:00
vrubelroman
9734108b83 Portuguese (Brazil), Uzbek (Latin) and Kazakh (Cyrillic) on the desktop, Android and the site
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>
2026-10-24 12:48:03 +03:00