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">Nueva partida</string>
<string name="own_databases">Mis bases</string>
<string name="own_new">+ Nueva base</string>
<string name="own_empty">Aquí estarán las partidas que introduzcas o juegues contra Maia</string>
<string name="own_empty">Aquí estarán las partidas que introduzcas o juegues contra el ordenador</string>
<string name="files">Archivos</string>
<string name="own_default_name">Mis partidas</string>
<string name="own_new_title">Nueva base</string>
@ -487,7 +487,6 @@
<string name="color_white">Blancas</string>
<string name="color_black">Negras</string>
<string name="color_random">Al azar</string>
<string name="play_opponent">Rival — Maia %1$s</string>
<string name="play_measured">El rating propio de Maia: no equivale al Elo de una persona.</string>
<string name="play_download_note">Maia se descarga una sola vez (%1$s MB, desde huggingface.co, el archivo de los propios autores).</string>
<string name="play_download_and_play">Descargar y jugar</string>
@ -504,7 +503,6 @@
<string name="play_maia_resigns">Maia se rinde</string>
<string name="play_note_from">A partir de aquí, una partida contra Maia %1$s.</string>
<string name="play_abort">Abortar</string>
<string name="play_with_maia">Jugar con Maia</string>
<string name="play_your_name">Tu nombre</string>
<string name="play_maia_ready">Maia está descargada</string>
<string name="play_retry">Reintentar</string>
@ -519,7 +517,6 @@
<string name="play_saved">✓ Guardada</string>
<string name="play_save">Guardar…</string>
<string name="play_adjourned_sub">juegas con %1$s · %2$s</string>
<string name="play_from_maia">Seguir desde aquí contra Maia…</string>
<string name="play_from_label">Tras %1$s</string>
<string name="sound">Sonido</string>
<string name="undo_menu">Deshacer</string>
@ -531,7 +528,7 @@
<string name="start_position">la posición inicial</string>
<string name="play_maia_stopped">Maia no se inició.</string>
<string name="play_maia_reload">Volver a descargar Maia</string>
<string name="play_adjourned_q">Hay una partida aplazada contra Maia %1$s</string>
<string name="play_adjourned_q">Hay una partida aplazada contra %1$s</string>
<string name="play_continue_it">Continuarla</string>
<string name="play_start_new">Empezar una nueva</string>
<string name="play_adjourned_new_text">Una partida nueva la sustituye; lo jugado va sin terminar a la base del jugador.</string>
@ -545,7 +542,7 @@
<string name="player_written">✓ En «%1$s», n.º %2$s ›</string>
<string name="player_kept_unfinished">Partida guardada sin terminar en «%1$s»</string>
<string name="player_db_row">se guardan solas</string>
<string name="record_games">Guardar las partidas contra Maia en la base del jugador</string>
<string name="record_games">Guardar las partidas contra el ordenador en la base del jugador</string>
<string name="player_line_existing">Las partidas se guardan en «%1$s»</string>
<string name="player_line_new">Las partidas se guardarán en una base nueva «%1$s».</string>
<string name="player_line_noname">Sin nombre, las partidas van a «%1$s». Escribe un nombre para tener tu propia base.</string>
@ -554,6 +551,116 @@
<string name="player_write_failed">No se pudo escribir en «%1$s»: %2$s</string>
<string name="play_adjourned_replaced">Una partida nueva la sustituye.</string>
<string name="last_opened">Abierta por última vez</string>
<string name="play_adjourned_title">Partida contra Maia %1$s</string>
<string name="play_adjourned_title">Partida contra %1$s</string>
<string name="play_move_n">jugada %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">Primero ataca, luego busca piezas activas.</string>
<string name="rodent_iv_cloe">Cloe</string>
<string name="rodent_iv_cloe_about">Le gustan las posiciones cerradas.</string>
<string name="rodent_iv_deborah">Débora</string>
<string name="rodent_iv_deborah_about">Defiende bien y le gustan sus alfiles.</string>
<string name="rodent_iv_defender">Defensor</string>
<string name="rodent_iv_defender_about">Sólido y prudente; se conforma con tablas.</string>
<string name="rodent_iv_dynamic">Dinámico</string>
<string name="rodent_iv_dynamic_about">Ataca, le gustan los alfiles, sacrifica de vez en cuando.</string>
<string name="rodent_iv_grumpy">Gruñón</string>
<string name="rodent_iv_grumpy_about">Ataque y restricción; le gustan las posiciones bloqueadas, evita las tablas.</string>
<string name="rodent_iv_partisan">Partisano</string>
<string name="rodent_iv_partisan_about">Ataca tras aperturas tranquilas y discretas.</string>
<string name="rodent_iv_pawnsacker">Gambitero</string>
<string name="rodent_iv_pawnsacker_about">Equilibrado, pero entrega peones con más facilidad.</string>
<string name="rodent_iv_pedrita">Pedrita</string>
<string name="rodent_iv_pedrita_about">Peones, defensa y restricción.</string>
<string name="rodent_iv_preston">Preston</string>
<string name="rodent_iv_preston_about">Un atacante materialista y moderado.</string>
<string name="rodent_iv_simple">Sencillo</string>
<string name="rodent_iv_simple_about">El más «computadora»: ajedrez sencillo y sólido.</string>
<string name="rodent_iv_spitfire">Fogoso</string>
<string name="rodent_iv_spitfire_about">Agudo y agresivo.</string>
<string name="rodent_iv_strangler">Estrangulador</string>
<string name="rodent_iv_strangler_about">Una boa: asfixia despacio, muy humano.</string>
<string name="rodent_iv_alekhine">Alekhine</string>
<string name="rodent_iv_alekhine_about">Ataques dinámicos y combinaciones profundas.</string>
<string name="rodent_iv_anand">Anand</string>
<string name="rodent_iv_anand_about">Juego rápido y universal con aperturas agudas.</string>
<string name="rodent_iv_anderssen">Anderssen</string>
<string name="rodent_iv_anderssen_about">Un atacante romántico del siglo XIX: sacrificios.</string>
<string name="rodent_iv_bosboom">Bosboom</string>
<string name="rodent_iv_bosboom_about">Aperturas poco habituales y blitz creativo.</string>
<string name="rodent_iv_botvinnik">Botvinnik</string>
<string name="rodent_iv_botvinnik_about">Juego estratégico y científico, preparación profunda.</string>
<string name="rodent_iv_fischer">Fischer</string>
<string name="rodent_iv_fischer_about">Claro, clásico y preciso.</string>
<string name="rodent_iv_karpov">Karpov</string>
<string name="rodent_iv_karpov_about">Presión posicional, profilaxis y técnica.</string>
<string name="rodent_iv_kasparov">Kasparov</string>
<string name="rodent_iv_kasparov_about">Iniciativa y ataque poderoso.</string>
<string name="rodent_iv_kortchnoi">Kortchnoi</string>
<string name="rodent_iv_kortchnoi_about">Un defensor tenaz y contraatacante.</string>
<string name="rodent_iv_larsen">Larsen</string>
<string name="rodent_iv_larsen_about">Original y arriesgado, con aperturas inusuales.</string>
<string name="rodent_iv_lasker">Lasker</string>
<string name="rodent_iv_lasker_about">Un luchador práctico y psicológico.</string>
<string name="rodent_iv_marshall">Marshall</string>
<string name="rodent_iv_marshall_about">Un atacante audaz, amigo de los gambitos.</string>
<string name="rodent_iv_morphy">Morphy</string>
<string name="rodent_iv_morphy_about">Desarrollo rápido y líneas abiertas.</string>
<string name="rodent_iv_nimzowitsch">Nimzowitsch</string>
<string name="rodent_iv_nimzowitsch_about">Restricción, bloqueo y sobreprotección.</string>
<string name="rodent_iv_petrosian">Petrosian</string>
<string name="rodent_iv_petrosian_about">Profilaxis y seguridad ante todo.</string>
<string name="rodent_iv_reti">Reti</string>
<string name="rodent_iv_reti_about">Hipermoderno: controla el centro a distancia.</string>
<string name="rodent_iv_rubinstein">Rubinstein</string>
<string name="rodent_iv_rubinstein_about">Juego posicional clásico, gran finalista.</string>
<string name="rodent_iv_spassky">Spassky</string>
<string name="rodent_iv_spassky_about">Un jugador universal, cómodo en cualquier posición.</string>
<string name="rodent_iv_steinitz">Steinitz</string>
<string name="rodent_iv_steinitz_about">El fundador del juego posicional, un defensor obstinado.</string>
<string name="rodent_iv_tal">Tal</string>
<string name="rodent_iv_tal_about">El mago de Riga: sacrificios y ataque.</string>
<string name="rodent_iv_tarrasch">Tarrasch</string>
<string name="rodent_iv_tarrasch_about">Reglas clásicas: espacio, desarrollo, piezas activas.</string>
<string name="rodent_iv_topalov">Topalov</string>
<string name="rodent_iv_topalov_about">Agresivo y dinámico, sacrifica la calidad.</string>
<string name="opp_maia_sub">juega como una persona</string>
<string name="opp_rodent_sub">fuerte, con estilo</string>
<string name="like_human">Como una persona</string>
<string name="maia_no_style">Maia no elige estilo: juega como la gente de su nivel.</string>
<string name="rodent_measured">El rating propio de Rodent (UCI_Elo): no equivale al Elo de una persona.</string>
<string name="rodent_resigns">Rodent se rinde</string>
<string name="end_rodent_resigned">Rodent se rindió</string>
<string name="rodent_draw_declined">Rodent rechaza las tablas</string>
<string name="rodent_draw_later">Rodent lo rechazó; ofrece de nuevo tras dos de sus jugadas</string>
<string name="rodent_position_lost">Su posición está perdida. ¿Aceptar la victoria o jugar hasta el final?</string>
<string name="play_button">Jugar</string>
<string name="play_button_cd">Jugar contra el ordenador</string>
<string name="strength_n">Fuerza: %1$s</string>
<string name="pick_title">Contra quién jugar</string>
<string name="pick_intro">Un carácter es un estilo y unas aperturas; la fuerza la marca el control deslizante.</string>
<string name="pick_players">Grandes jugadores</string>
<string name="pick_characters">Caracteres</string>
<string name="pick_change">Cambiar</string>
<string name="pick_player_cd">%1$s, gran jugador</string>
<string name="pick_character_cd">%1$s, carácter</string>
<string name="character_cd">Carácter: %1$s</string>
<string name="books_ready">Rodent IV y sus libros de aperturas están en el teléfono</string>
<string name="books_offer">Libros de aperturas de Rodent IV: %1$s MB, una sola vez de github.com</string>
<string name="books_not_needed">Desde una posición no hace falta libro de aperturas: Rodent IV juega enseguida</string>
<string name="books_without">Sin libro</string>
<string name="books_without_cd">Sin libro: jugar sin libro de aperturas</string>
<string name="books_notification">Libros de aperturas de Rodent IV</string>
<string name="books_settings">Rodent IV — libros de aperturas</string>
<string name="books_downloaded_mb">descargados · %1$s MB</string>
<string name="books_missing_mb">no descargados · %1$s MB</string>
<string name="books_deleted">Libros de aperturas eliminados</string>
<string name="rodent_draw_no_engine">Rodent responde a las tablas con Stockfish: descárgalo con «Motor»</string>
<string name="rodent_stopped">Rodent no se inició.</string>
<string name="rodent_restart">Reiniciar</string>
<string name="play_note_from_rodent">A partir de aquí, una partida contra Rodent IV %1$s · %2$s.</string>
<string name="rodent_stopped_playing">Rodent se detuvo durante la partida.</string>
<string name="strength_range">%1$s, de %2$s a %3$s</string>
<string name="strength">Fuerza</string>
<string name="books_delete_cd">Eliminar los libros de aperturas</string>
</resources>