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>
This commit is contained in:
vrubelroman 2026-10-27 03:03:02 +03:00
parent 3dac4a185b
commit b3774d1651
42 changed files with 4098 additions and 951 deletions

View file

@ -402,7 +402,7 @@
<string name="new_game">Nouvelle partie</string>
<string name="own_databases">Mes bases</string>
<string name="own_new">+ Nouvelle base</string>
<string name="own_empty">Ici seront les parties que vous saisirez ou jouerez contre Maia</string>
<string name="own_empty">Ici seront les parties que vous saisirez ou jouerez contre l’ordinateur</string>
<string name="files">Fichiers</string>
<string name="own_default_name">Mes parties</string>
<string name="own_new_title">Nouvelle base</string>
@ -487,7 +487,6 @@
<string name="color_white">Blancs</string>
<string name="color_black">Noirs</string>
<string name="color_random">Au hasard</string>
<string name="play_opponent">Adversaire — Maia %1$s</string>
<string name="play_measured">Le classement propre de Maia : il ne correspond pas à l’Elo d’une personne.</string>
<string name="play_download_note">Maia est téléchargée une seule fois (%1$s Mo, depuis huggingface.co, le fichier des auteurs eux-mêmes).</string>
<string name="play_download_and_play">Télécharger et jouer</string>
@ -504,7 +503,6 @@
<string name="play_maia_resigns">Maia abandonne</string>
<string name="play_note_from">À partir d’ici, une partie contre Maia %1$s.</string>
<string name="play_abort">Abandonner</string>
<string name="play_with_maia">Jouer contre Maia</string>
<string name="play_your_name">Votre nom</string>
<string name="play_maia_ready">Maia est téléchargée</string>
<string name="play_retry">Réessayer</string>
@ -519,7 +517,6 @@
<string name="play_saved">✓ Enregistrée</string>
<string name="play_save">Enregistrer…</string>
<string name="play_adjourned_sub">vous jouez %1$s · %2$s</string>
<string name="play_from_maia">Continuer d’ici contre Maia…</string>
<string name="play_from_label">Après %1$s</string>
<string name="sound">Son</string>
<string name="undo_menu">Annuler</string>
@ -531,7 +528,7 @@
<string name="start_position">la position initiale</string>
<string name="play_maia_stopped">Maia n’a pas démarré.</string>
<string name="play_maia_reload">Retélécharger Maia</string>
<string name="play_adjourned_q">Une partie contre Maia %1$s est en attente</string>
<string name="play_adjourned_q">Une partie contre %1$s est en attente</string>
<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 ; ce qui a été joué va, inachevé, dans la base du joueur.</string>
@ -545,7 +542,7 @@
<string name="player_written">✓ Dans « %1$s », n° %2$s ›</string>
<string name="player_kept_unfinished">Partie enregistrée inachevée dans « %1$s »</string>
<string name="player_db_row">enregistrées d’elles-mêmes</string>
<string name="record_games">Enregistrer les parties contre Maia dans la base du joueur</string>
<string name="record_games">Enregistrer les parties contre l’ordinateur dans la base du joueur</string>
<string name="player_line_existing">Les parties sont enregistrées dans « %1$s »</string>
<string name="player_line_new">Les parties seront enregistrées dans une nouvelle base « %1$s ».</string>
<string name="player_line_noname">Sans nom, les parties vont dans « %1$s ». Saisissez un nom pour avoir votre propre base.</string>
@ -554,6 +551,116 @@
<string name="player_write_failed">Impossible d’écrire dans « %1$s » : %2$s</string>
<string name="play_adjourned_replaced">Une nouvelle partie la remplace.</string>
<string name="last_opened">Ouverte en dernier</string>
<string name="play_adjourned_title">Partie contre Maia %1$s</string>
<string name="play_adjourned_title">Partie contre %1$s</string>
<string name="play_move_n">coup %1$d</string>
<!-- Rodent IV on the phone (android-rodent.md §9); the characters and the desktop's sentences come from apps/desktop/src/i18n.rs. -->
<string name="rodent_iv_amanda">Amanda</string>
<string name="rodent_iv_amanda_about">Attaque d’abord, puis joue pour l’activité des pièces.</string>
<string name="rodent_iv_cloe">Cloé</string>
<string name="rodent_iv_cloe_about">Aime les positions fermées.</string>
<string name="rodent_iv_deborah">Déborah</string>
<string name="rodent_iv_deborah_about">Défend bien et aime ses fous.</string>
<string name="rodent_iv_defender">Défenseur</string>
<string name="rodent_iv_defender_about">Solide et prudent ; se contente de la nulle.</string>
<string name="rodent_iv_dynamic">Dynamique</string>
<string name="rodent_iv_dynamic_about">Attaque, aime les fous, sacrifie de temps en temps.</string>
<string name="rodent_iv_grumpy">Grincheux</string>
<string name="rodent_iv_grumpy_about">Attaque et restriction ; aime les positions bloquées, évite la nulle.</string>
<string name="rodent_iv_partisan">Partisan</string>
<string name="rodent_iv_partisan_about">Attaque après des ouvertures calmes et discrètes.</string>
<string name="rodent_iv_pawnsacker">Gambiteur</string>
<string name="rodent_iv_pawnsacker_about">Équilibré, mais cède plus volontiers des pions.</string>
<string name="rodent_iv_pedrita">Pedrita</string>
<string name="rodent_iv_pedrita_about">Pions, défense et restriction.</string>
<string name="rodent_iv_preston">Preston</string>
<string name="rodent_iv_preston_about">Un attaquant matérialiste et modéré.</string>
<string name="rodent_iv_simple">Simplet</string>
<string name="rodent_iv_simple_about">Le plus « ordinateur » : un jeu simple et sain.</string>
<string name="rodent_iv_spitfire">Boutefeu</string>
<string name="rodent_iv_spitfire_about">Tranchant et agressif.</string>
<string name="rodent_iv_strangler">Étrangleur</string>
<string name="rodent_iv_strangler_about">Un boa : étouffe lentement, très humain.</string>
<string name="rodent_iv_alekhine">Alekhine</string>
<string name="rodent_iv_alekhine_about">Attaques dynamiques et combinaisons profondes.</string>
<string name="rodent_iv_anand">Anand</string>
<string name="rodent_iv_anand_about">Jeu rapide et universel, ouvertures tranchantes.</string>
<string name="rodent_iv_anderssen">Anderssen</string>
<string name="rodent_iv_anderssen_about">Un attaquant romantique du XIXe siècle : sacrifices.</string>
<string name="rodent_iv_bosboom">Bosboom</string>
<string name="rodent_iv_bosboom_about">Ouvertures originales et blitz créatif.</string>
<string name="rodent_iv_botvinnik">Botvinnik</string>
<string name="rodent_iv_botvinnik_about">Jeu stratégique et scientifique, préparation profonde.</string>
<string name="rodent_iv_fischer">Fischer</string>
<string name="rodent_iv_fischer_about">Clair, classique et précis.</string>
<string name="rodent_iv_karpov">Karpov</string>
<string name="rodent_iv_karpov_about">Étau positionnel, prophylaxie et technique.</string>
<string name="rodent_iv_kasparov">Kasparov</string>
<string name="rodent_iv_kasparov_about">Initiative et attaque puissante.</string>
<string name="rodent_iv_kortchnoi">Kortchnoi</string>
<string name="rodent_iv_kortchnoi_about">Un défenseur tenace et contre-attaquant.</string>
<string name="rodent_iv_larsen">Larsen</string>
<string name="rodent_iv_larsen_about">Original et risqué, aux ouvertures insolites.</string>
<string name="rodent_iv_lasker">Lasker</string>
<string name="rodent_iv_lasker_about">Un combattant pratique et psychologue.</string>
<string name="rodent_iv_marshall">Marshall</string>
<string name="rodent_iv_marshall_about">Un attaquant fougueux, amateur de gambits.</string>
<string name="rodent_iv_morphy">Morphy</string>
<string name="rodent_iv_morphy_about">Développement rapide et lignes ouvertes.</string>
<string name="rodent_iv_nimzowitsch">Nimzowitsch</string>
<string name="rodent_iv_nimzowitsch_about">Restriction, blocus et surprotection.</string>
<string name="rodent_iv_petrosian">Petrosian</string>
<string name="rodent_iv_petrosian_about">Prophylaxie et sécurité avant tout.</string>
<string name="rodent_iv_reti">Reti</string>
<string name="rodent_iv_reti_about">Hypermoderne : contrôle le centre à distance.</string>
<string name="rodent_iv_rubinstein">Rubinstein</string>
<string name="rodent_iv_rubinstein_about">Jeu positionnel classique, excellent en finale.</string>
<string name="rodent_iv_spassky">Spassky</string>
<string name="rodent_iv_spassky_about">Un joueur universel, à l’aise partout.</string>
<string name="rodent_iv_steinitz">Steinitz</string>
<string name="rodent_iv_steinitz_about">Le fondateur du jeu positionnel, défenseur obstiné.</string>
<string name="rodent_iv_tal">Tal</string>
<string name="rodent_iv_tal_about">Le magicien de Riga : sacrifices et attaque.</string>
<string name="rodent_iv_tarrasch">Tarrasch</string>
<string name="rodent_iv_tarrasch_about">Règles classiques : espace, développement, pièces actives.</string>
<string name="rodent_iv_topalov">Topalov</string>
<string name="rodent_iv_topalov_about">Agressif et dynamique, sacrifie la qualité.</string>
<string name="opp_maia_sub">joue comme un humain</string>
<string name="opp_rodent_sub">fort, avec un style</string>
<string name="like_human">Comme un humain</string>
<string name="maia_no_style">Maia ne choisit pas de style : elle joue comme les gens de son niveau.</string>
<string name="rodent_measured">Le classement propre de Rodent (UCI_Elo) : il ne correspond pas à l’Elo d’une personne.</string>
<string name="rodent_resigns">Rodent abandonne</string>
<string name="end_rodent_resigned">Rodent a abandonné</string>
<string name="rodent_draw_declined">Rodent refuse la nulle</string>
<string name="rodent_draw_later">Rodent a refusé ; reproposez après deux de ses coups</string>
<string name="rodent_position_lost">Sa position est perdue. Accepter la victoire ou jouer jusqu’au bout ?</string>
<string name="play_button">Jouer</string>
<string name="play_button_cd">Jouer contre l’ordinateur</string>
<string name="strength_n">Force : %1$s</string>
<string name="pick_title">Contre qui jouer</string>
<string name="pick_intro">Un caractère, c’est un style et des ouvertures ; le curseur règle la force.</string>
<string name="pick_players">Grands joueurs</string>
<string name="pick_characters">Caractères</string>
<string name="pick_change">Changer</string>
<string name="pick_player_cd">%1$s, grand joueur</string>
<string name="pick_character_cd">%1$s, caractère</string>
<string name="character_cd">Caractère : %1$s</string>
<string name="books_ready">Rodent IV et ses livres d’ouvertures sont sur le téléphone</string>
<string name="books_offer">Livres d’ouvertures de Rodent IV : %1$s Mo, une seule fois depuis github.com</string>
<string name="books_not_needed">Depuis une position, pas besoin de livre d’ouvertures : Rodent IV joue tout de suite</string>
<string name="books_without">Sans livre</string>
<string name="books_without_cd">Sans livre : jouer sans livre d’ouvertures</string>
<string name="books_notification">Livres d’ouvertures de Rodent IV</string>
<string name="books_settings">Rodent IV — livres d’ouvertures</string>
<string name="books_downloaded_mb">téléchargés · %1$s Mo</string>
<string name="books_missing_mb">non téléchargés · %1$s Mo</string>
<string name="books_deleted">Livres d’ouvertures supprimés</string>
<string name="rodent_draw_no_engine">Rodent répond à la nulle avec Stockfish : téléchargez-le avec « Moteur »</string>
<string name="rodent_stopped">Rodent n’a pas démarré.</string>
<string name="rodent_restart">Redémarrer</string>
<string name="play_note_from_rodent">À partir d’ici, une partie contre Rodent IV %1$s · %2$s.</string>
<string name="rodent_stopped_playing">Rodent s’est arrêté pendant la partie.</string>
<string name="strength_range">%1$s, de %2$s à %3$s</string>
<string name="strength">Force</string>
<string name="books_delete_cd">Supprimer les livres d’ouvertures</string>
</resources>