Skip to content

OpenChess v3.0.0 — P2P Friend Games

Choose a tag to compare

@github-actions github-actions released this 16 Oct 15:50

OpenChess V3.0.0 introduces built-in P2P friend games, replacing the hosted online entry points.

中文

  • 内置加密 WebRTC 联机,无需 OpenChess 游戏服务器、信令服务器或账号。
  • 房主创建并发送邀请,好友导入后回传回应,房主导入回应即可自动开局。
  • 支持白方/黑方/随机、十一种时限、后台计时、认输、和棋及双方同意后交换颜色重赛。
  • 双方校验走子,房主统一管理计时;重复和过期走子不会重复执行。
  • 支持本地棋谱、赛后分析和连接内胜/和/负比分;P2P 不计入 ELO 或 Puzzle Rating。
  • 原有电脑对弈、局域网对弈、解题、每日题、分析及离线档案继续保留。
  • 修复多窗口点击坐标问题及开局时间差导致的偶发错误断线。

使用首页的 P2P 好友对弈。默认使用公共 STUN 辅助发现地址,可自行编辑或清空;受限 NAT/防火墙可能无法直连,可配置自己的 UDP TURN 或使用虚拟局域网。原有公开匹配、云端账号和社交入口已停用。当前不支持断线续局。

English

  • Encrypted, reliable WebRTC DataChannels with manual invitation / response exchange. No OpenChess account, game server or signaling server.
  • Color selection, eleven time controls, background clocks, resign/draw, mutual rematches with swapped colors, local history and analysis.
  • Independent move validation, generation/ply deduplication, creator-authoritative clocks and disconnect handling.
  • P2P games are unrated; local training, profiles and existing desktop features remain available. Hosted account/matchmaking/social entry points are retired.
  • Optional configurable STUN / UDP TURN. Direct connectivity depends on the peers' networks; reconnect/resume is not included.

Validation: full macOS regression suite, eight consecutive real WebRTC lifecycle tests with deliberately delayed frame processing, and two independent local app instances exercising invitation/response exchange, moves, resignation and rematch. Both platform installers include the pinned WebRTC runtime and license notices.

联机与构建说明 / P2P guide

Downloads: macOS Apple Silicon DMG and Windows x64 portable ZIP. Extract the full Windows archive before launching.