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>
This commit is contained in:
vrubelroman 2026-10-26 02:44:05 +03:00
parent 0d7c0923fa
commit b90bcdf3a3
18 changed files with 297 additions and 4 deletions

View file

@ -527,4 +527,9 @@
<string name="play_continue_it">Fortsetzen</string>
<string name="play_start_new">Neue beginnen</string>
<string name="play_adjourned_new_text">Eine neue Partie ersetzt sie.</string>
<string name="play_offer_draw">Remis</string>
<string name="end_agreement">durch Einigung</string>
<string name="play_draw_declined">Maia lehnt das Remis ab</string>
<string name="play_draw_later">Maia hat abgelehnt; nach zwei ihrer Züge wieder anbieten</string>
<string name="play_draw_no_engine">Maia beantwortet Remis mit Stockfish: über „Engine“ herunterladen</string>
</resources>