English
This page is available in English
The whole page — instructions, buttons and results.
Switch to English免费在线国际象棋棋盘。点击走子,完整 FIDE 规则(王车易位、吃过路兵、兵升变),支持悔棋、翻转棋盘、复制 FEN/PGN,并可对战 Stockfish 16 引擎。
在线国际象棋棋盘
使用方法
点击棋子
棋子会高亮显示,所有合法着法以圆点(空格)或圆环(吃子)标出。
点击目标格
棋步立即生效。特殊着法(王车易位、吃过路兵)自动处理;兵到底线时会提示选择升变棋子。
悔棋或翻转
↶ 可撤销任意一步;⇅ 翻转棋盘,从对方视角观看。
导出或载入
复制 FEN(当前局面)或 PGN(完整棋谱)即可分享。把 FEN 或 PGN 棋谱粘贴进「载入」框,可跳转到任意局面或重放整盘棋。
在线国际象棋棋盘 —— 对弈、研究、分享
这是一个完整可交互的国际象棋棋盘。哪些着法合法由开源走子库 chess.js 判定,因此短易位(O-O)与长易位(O-O-O)、吃过路兵、兵升变为任意棋子、将军与将死都符合规则。对局如何结束则依照国际棋联(FIDE)国际象棋规则(2023 年 1 月 1 日起施行):将死、逼和与「死局」立即结束对局;同一局面第三次出现,或双方各走 50 步既无吃子也无兵移动时,轮到走棋的一方可以申请和棋(棋盘旁会出现按钮);同一局面出现五次,或双方各走 75 步既无吃子也无兵移动,则无需申请,自动判和。
这个工具适合做什么
复盘局面:从书籍、习题或线上对局粘贴 FEN 或 PGN 棋谱,接着往下走。研究开局:逐步走出你的准备并复制 PGN。双人对弈:无需联网、无需账号、无需安装,打开页面传递设备即可。人机训练:与 Stockfish 16 对战,难度 0–20 可调。教学:用合法着法高亮向初学者演示各子的走法。
「国际象棋的博弈树复杂度即「香农数」:香农(Shannon, 1950)估计从开局起约有 10¹²⁰ 种变化,并算出一台每微秒检查一种变化的机器,光是走第一步就要超过 10⁹⁰ 年。即便只数合法局面,也约有 4.8 × 10⁴⁴ 个(Tromp)。」
国际象棋在新加坡与马来西亚
国际象棋(西方国际象棋,与中国象棋是两种不同的棋类)在东南亚有不少强手。新加坡的特级大师包括 Wong Meng Kong、Kevin Goh Wei Ming 与 Tin Jingyao(2000 年生),马来西亚有特级大师 Yeoh Li Tian —— 称号均以国际棋联等级分数据库所列为准。新加坡国际象棋联合会举办全国锦标赛与全国年龄组锦标赛。
隐私与自托管
一切都在你的浏览器中运行 —— 你的局面不会被发送到任何服务器。人机对战使用的 Stockfish 16 通过 WebAssembly 在本地运行,同样不上传任何数据。若需更深入的分析,可把 FEN/PGN 复制到 Lichess Studies 或你惯用的桌面引擎。棋规库(chess.js 1.4.0,BSD-2 许可)自托管在我们自己的域名下。Stockfish 16 是依据 GNU 通用公共许可证第 3 版(GPL-3.0) 发布的自由软件;我们原样转发其 WebAssembly 版本,完整源代码见 github.com/official-stockfish/Stockfish。
后到十五世纪末才变强
最早提到国际象棋的文字约在公元 7 世纪初,指向印度西北部与波斯;当时的棋子是王、谋臣、两头象、两匹马、两辆战车和八名步兵(H. J. R. Murray,《A History of Chess》,1913)。
现代的「后」是十五世纪末的产物,取代了中世纪只能斜走一格的 fers。Von der Lasa 把这一变化定在 1475 年前后;Murray(1913)则认为不早于 1485 年,并认为意大利比西班牙更可能是它的发源地。
国际棋联(FIDE)1924 年在巴黎成立,如今有 204 个国家和地区的棋协作为会员。
马格努斯·卡尔森在国际棋联标准等级分榜上的最高分是 2882,2014 年 5 月首次达到,2019 年 8 月再次达到。
香农数:克劳德·香农 1950 年的论文估计从开局起约有 10¹²⁰ 种变化、可能的局面约 10⁴³ 个;John Tromp 后来的统计把合法局面数定在约 4.8 × 10⁴⁴。
两种和棋要申请,两种自动生效。按国际棋联规则,三次重复局面或双方各走 50 步既无吃子也无兵移动,只是让轮到走棋的一方可以申请和棋;五次重复局面或 75 步则当即判和(第 9.2、9.3 与 9.6 条)。
王车易位是慢慢定型的。Murray(1913)记载,到 1585 年现代易位已在罗马普遍使用,而意大利其他城市直到 17 世纪仍保留王的旧式跳步,甚至根本不许易位。
吃过路兵随兵的首步双格而来:到十五世纪末,位于第五横线的兵已可吃掉刚从旁边双步越过的敌兵 —— 不过 Murray 指出,意大利棋手长期不承认这条规则。
升变不限于已被吃掉的棋子。国际棋联第 3.7.3.4 条允许兵升变成第二个(甚至第三个)后,即使原来的后仍在棋盘上 —— 本棋盘同样允许。
Lichess.org 这个免费、开源的国际象棋网站,由 Thibault Duplessis 于 2010 年作为业余项目开始开发;据它自己统计,如今用户每天下超过五百万盘棋。
常见问题
可以 —— 把模式切换为「🤖 人机对战」,即可与免费开源引擎 Stockfish 16 对弈。你可以选择执白或执黑,并把难度设在 0–20 之间:这是 Stockfish 自带的 Skill Level 选项;本页还限制了每步的搜索(从 0 级的深度 3 到深度 15,每步 0.2 至 1.8 秒),所以即使 20 级也远未发挥引擎的全部实力。引擎通过 WebAssembly 完全在你的浏览器中运行,没有任何数据离开你的设备。
先点击你的王,再点击王朝车方向移动两格后的目标格(短易位:
e1→g1或e8→g8;长易位:e1→c1或e8→c8),车会自动越过王落位。只有在王和该车都未移动过、两者之间的格子全空、王不处于被将军状态,且王经过与到达的格子都不受攻击时,易位才合法(国际棋联第 3.8.2 条)。当兵到达第 8 横线(白方)或第 1 横线(黑方)时,系统会提示你选择升变的棋子 —— 后(q)、车(r)、象(b)或马(n)。输入框已预填 q,直接确定即升变为后;点「取消」则这步不走。可以升变为场上仍有的棋子,所以同时有两个后也合法。升变为马的「低升变」是解题中的经典例外。
当对方的兵一次前进两格,恰好落在你的兵旁边时,你可以像它只走了一格那样吃掉它。这个机会只在紧接着的下一步有效,错过即失效。工具会通过合法着法高亮提示你。
复制侧栏中的 PGN(可移植棋谱记法)文本即可。你可以把它粘贴到文本文件、Lichess Studies,或随时贴回本工具的「载入」框重放整盘棋。PGN 是通用的棋谱格式,各类软件都支持。
Forsyth–Edwards 记法 —— 用一行紧凑的文本描述任意局面,包含轮到谁走、易位权利、可吃过路兵的格子以及回合计数。例如
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1就是初始局面。兵走两格之后,复制出的 FEN 会照 1994 年 PGN 标准写出吃过路兵的目标格,即使实际上无法吃过路兵。暂不支持 —— 当前版本不计时。实时棋钟是专业棋类服务器(Lichess、Chess.com)的常见功能,如需比赛或快棋对局请使用它们。
走子规则全部执行 —— 合法性由 chess.js 判定。和棋则依照国际棋联规则:逼和与「死局」立即结束对局(本棋盘识别的死局是子力不足的情形,例如王对王加象);三次重复局面或双方各走 50 步既无吃子也无兵移动时,会出现「申请和棋」按钮,因为第 9.2、9.3 条规定这两种和棋须由棋手申请;五次重复局面或 75 步则自动判和(第 9.6 条)。它不强制「摸子走子」规则(那只适用于面对面实战)。
我们使用 Unicode 棋子字符(♔♕♖♗♘♙♚♛♜♝♞♟)—— 由字体渲染,屏幕阅读器可读,无需下载图片,并且能完美缩放。现代浏览器都能良好显示。
会。RECATOOLS 由广告支持,工具从不收费。chess.js 采用 BSD-2 许可(可免费商用)。无需账号,无需注册。
方法与来源
计算方式
Move legality from the vendored chess.js 1.4.0, checked against the Chess Programming Wiki perft counts. Game endings follow the FIDE Laws (2023): checkmate, stalemate and a dead position end the game; threefold repetition and the 50-move rule are draws the player to move may claim; fivefold repetition and 75 moves are automatic draws. FEN and PGN export follow the 1994 PGN standard. Optional Stockfish 16 opponent runs in the browser (ChessNotationKernel).
本工具依据的标准
- Which moves are legal is decided by chess.js 1.4.0, not by the interface. Its move generator is checked against the Chess Programming Wiki perft counts: 20, 400 and 8,902 positions at depths 1-3 from the start; 48 and 2,039 for Kiwipete; and positions 3, 4 and 5.
- How a game ends follows the FIDE Laws of Chess in force from 1 January 2023: checkmate (5.1.1), stalemate (5.2.1) and a dead position (5.2.2) end it at once; a third appearance of the same position (9.2) or 50 moves by each player without a capture or pawn move (9.3) let the player to move claim a draw with a button; a fifth appearance (9.6.1) or 75 such moves (9.6.2, a checkmate on that move taking precedence) end it drawn without a claim.
- Repetition uses the 9.2.3 identity: same player to move, same pieces on the same squares, same castling rights and the same en passant possibility. The dead positions recognised are the insufficient-material ones (king against king, king and minor piece against king, bishops all on one colour); other dead positions, such as locked pawn chains, are not detected.
- The copied FEN names the en passant square after every two-square pawn move, as the PGN standard (revised 1994.03.12, 16.1.3.4) specifies; the copied PGN carries the Seven Tag Roster with a Result tag equal to the movetext's termination marker (8.1.1.7). A FEN or a PGN game pasted into the Load box sets the board up again.
- The computer opponent is Stockfish 16 (GPL-3.0) as a single-threaded WebAssembly build in the browser. Difficulty 0-20 is Stockfish's Skill Level option, and each search is also capped at depth 3-15 and 0.2-1.8 seconds a move, so level 20 here is not the engine's full strength.
- Corrected 2026-10-19: the board stopped the game at a threefold repetition or 50 moves (FIDE: a claim) and never at fivefold or 75 (FIDE: automatic); the copied PGN read [Result "*"] after a checkmate; the copied FEN dropped the en passant square; the castling answer said no square between king and rook may be attacked (b1 may be, on the queenside); the page said a PGN could be pasted "back into this tool", which had no PGN import; chess.js was called the rule engine Lichess uses; Kevin Goh Wei Ming was called an IM (FIDE lists him a GM); Tin Jingyao was called Singapore's second grandmaster and Carlsen champion until a 2024 refusal (both unsourced; removed); FIDE was said to have more members than FIFA (204 against 211); the modern queen was dated "around 1475 in Spain" and chess to 6th-century India (Murray 1913: no earlier than 1485, and the earliest records about 600 CE); a quoted Lichess origin and a Stockfish Elo figure had no source; and this record said the board had no opponent.
资料来源
- FIDE. Laws of Chess taking effect from 1 January 2023 (Articles 3.7.3, 3.8.2, 5.1.1, 5.2.1, 5.2.2, 9.2, 9.3, 9.6): https://handbook.fide.com/chapter/E012023
- Chess Programming Wiki. Perft Results (initial position, Kiwipete, positions 3-5): https://www.chessprogramming.org/Perft_Results
- Edwards SJ, et al. Standard: Portable Game Notation Specification and Implementation Guide. Revised 1994.03.12 (8.1.1.7 Result tag; 16.1 FEN): https://www.thechessdrum.net/PGN_Reference.txt
- chess.js v1.4.0, BSD-2-Clause — move generation, vendored and loaded as an ES module: https://github.com/jhlywa/chess.js
- Stockfish 16, GPL-3.0 — source: https://github.com/official-stockfish/Stockfish
- Shannon CE. Programming a computer for playing chess. Philosophical Magazine. 1950;41(314) — about 10^120 variations; roughly 10^43 positions: https://vision.unipv.it/IA1/ProgrammingaComputerforPlayingChess.pdf
- Tromp J. ChessPositionRanking — legal positions estimated at (4.82 ± 0.03) × 10^44: https://github.com/tromp/ChessPositionRanking
- Murray HJR. A History of Chess. Oxford: Clarendon Press; 1913 — earliest records (c. 600 CE), the new queen (pp. 777-778), en passant and castling: https://archive.org/details/AHistoryOfChessHJRMurray
可能导致本页过时的因素
- The FIDE Laws are revised from time to time; the endings here are the 1 January 2023 text. FIDE's member count, Lichess's games per day and the players' titles are as read on 2026-10-19.
已节选——本工具的完整审阅记录长于上列。
Pick up where you left off
Stored only in this browser — never sent to our servers.