Harden chess against forged packets and lost moves

- Chain values count once and in order; moves need a fresh value
- Game info carries the inviter's chain value; colours come from the invite
- Accepters keep their seed; unconfirmed sends keep the move and resend it
- Check draw accept and timeout claim preconditions; drop unused minutes
- Notify in the background, keep own games under the cap, 16-bit ply
- Sanitise adopted castling rights, guard incoming handling
- Localised square labels and translations for the new strings
- Restore two Korean strings changed by mistake
This commit is contained in:
zjs81 committed 2026-11-22 17:44:28 -07:00
1 parent adead644c7
commit c2877f6875
53 files changed
+1977 -306

No files matched your search

+8 -1
View File
@@ -4521,5 +4521,12 @@
"chess_notifyResigned": "Hráč {name} se vzdal. Vyhráváte.",
"chess_notifyDrawOffered": "{name} nabízí remízu",
"chess_notifyDrawAccepted": "Hráč {name} přijal remízu",
"chess_notifyTimeout": "Hráč {name} uplatnil výhru na čas"
"chess_notifyTimeout": "Hráč {name} uplatnil výhru na čas",
"chess_rowChallenge": "{inviter} vyzývá hráče {target}",
"chess_statusPlayersUnchecked": "Hráči nepotvrzeni: tento telefon výzvu neslyšel.",
"chess_statusMoveUnconfirmed": "Váš tah možná neodešel. Klepnutím na „Vyžádat aktualizaci“ ho odešlete znovu.",
"chess_pieceKing": "Král",
"chess_piecePawn": "Pěšec",
"chess_squareWhitePiece": "{square}: {piece}, bílá",
"chess_squareBlackPiece": "{square}: {piece}, černá"
}