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

@ -528,4 +528,9 @@
<string name="play_continue_it">Жалғастыру</string>
<string name="play_start_new">Жаңасын бастау</string>
<string name="play_adjourned_new_text">Жаңа ойын оның орнын басады.</string>
<string name="play_offer_draw">Тең</string>
<string name="end_agreement">келісім бойынша</string>
<string name="play_draw_declined">Maia тең ойыннан бас тартады</string>
<string name="play_draw_later">Maia бас тартты; оның екі жүрісінен кейін қайта ұсыныңыз</string>
<string name="play_draw_no_engine">Maia тең ойынға Stockfish арқылы жауап береді: оны «Қозғалтқыш» батырмасымен жүктеңіз</string>
</resources>