Commit Graph
3 Commits
Author SHA1 Message Date
zjs81 a11f13af73 Recover lost game endings and recheck actions after sending
- Finished games answer a behind opponent with the final move
- Keep the resign/draw/timeout packet that ended the game and resend it
- Recheck draw accepts and timeout claims after the send
2026-11-22 18:09:17 -07:00
zjs81 c2877f6875 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
2026-11-22 17:44:28 -07:00
zjs81 185b026a0d Add chess games over channel data
Play and watch chess on a channel via the Chess games entry in the
channel overflow menu. Moves travel as GRP_DATA packets (type 0x0100)
carrying the full position and a hash-chain value for authentication.
Includes translations for all locales.
2026-11-22 17:00:35 -07:00