# lan-chess **Repository Path**: mastercat2006/lan-chess ## Basic Information - **Project Name**: lan-chess - **Description**: 即时象棋:局域网双人对战 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-26 - **Last Updated**: 2026-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 即时象棋 前端与后端在同目录,服务启动后直接访问 8765 即可。 ## 端口 8765(本机内部) launchd 标签为 `local.jishixiangqi.server`。 ## 启动 开机不自启,按需启动。两种方式: - 控制面板(`http://mastercat-macbook.local:8686`,口令 1104)里点这个服务的开关 - 在本目录跑 `./run.sh` `启动全部.sh` 会把六个服务里没在跑的都拉起来。 launchd 注册用的是本机 ssh 包装(`~/.ssh/id_local_services`),因为 macOS 的隐私保护会让 launchd 直接执行的进程在读 `~/Documents` 时卡死,进程挂着但不监听。走 ssh 之后子进程由 sshd 派生,有读取权限。 ## 入口与依赖 - 入口:`server.py + 即时象棋.html` - 运行时:Python 3.11 标准库 - 数据:无持久数据 ## 目录 - local.jishixiangqi.server.plist - server.err.log - server.log - server.py - 即时象棋.html - 启动局域网对战.command