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

@ -535,4 +535,9 @@
<string name="play_continue_it">La continuer</string>
<string name="play_start_new">En commencer une nouvelle</string>
<string name="play_adjourned_new_text">Une nouvelle partie la remplace.</string>
<string name="play_offer_draw">Nulle</string>
<string name="end_agreement">par accord mutuel</string>
<string name="play_draw_declined">Maia refuse la nulle</string>
<string name="play_draw_later">Maia a refusé ; reproposez après deux de ses coups</string>
<string name="play_draw_no_engine">Maia répond à la nulle avec Stockfish : téléchargez-le avec « Moteur »</string>
</resources>