Chess opening book
A built-in book of 95 real openings with ECO codes, Chinese and English names and standard SAN moves, searchable by name, ECO or move prefix, with every line validated move by move on a miniature board (castling and check detection included) so legality is computed rather than asserted.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Ready to copy.
Enter an opening name, ECO code or move prefix to search
Openings in book: 0 · Matches: 0 · Verified lines: 0 · Legal moves: 0
What this tool does
- Look up the Chinese name and ECO code of an opening.
- Search by a move prefix to identify which opening was played.
- Verify that the stored lines are actually legal.
Example
Input
Ruy Lopez
Output
开局库 / Opening book: 共 95 条(ECO A00–E99) 检索 / Query: ruy lopez,字段 / field: all,命中 / matches: 7 逐手校验 / Per-move legality check: 开 / on 结果 / Results: C60 西班牙开局(鲁伊·洛佩兹) / Ruy Lopez 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 合法性 / Legality: 全部合法 (5/5) / all legal (5/5) C64 西班牙开局(古典防御) / Ruy Lopez, Classical Defense 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 Bc5 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5 合法性 / Legality: 全部合法 (6/6) / all legal (6/6) C65 西班牙开局(柏林防御) / Ruy Lopez, Berlin Defense 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 Nf6 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 合法性 / Legality: 全部合法 (6/6) / all legal (6/6) C68 西班牙开局(兑换变例) / Ruy Lopez, Exchange Variation 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 a6 Bxc6 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 合法性 / Legality: 全部合法 (7/7) / all legal (7/7) C70 西班牙开局(莫菲防御) / Ruy Lopez, Morphy Defense 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 a6 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 合法性 / Legality: 全部合法 (6/6) / all legal (6/6) C84 西班牙开局(封闭变例) / Ruy Lopez, Closed 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 a6 Ba4 Nf6 O-O 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O 合法性 / Legality: 全部合法 (9/9) / all legal (9/9) C89 西班牙开局(马歇尔攻击) / Ruy Lopez, Marshall Attack 走法 / Moves: e4 e5 Nf3 Nc6 Bb5 a6 Ba4 Nf6 O-O Be7 Re1 b5 Bb3 O-O c3 d5 局面 / Line: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.c3 d5 合法性 / Legality: 全部合法 (16/16) / all legal (16/16)
Frequently asked questions
Is legality looked up or computed?
Computed. A miniature board with castling rights and check detection replays each stored line and rebuilds the SAN, so an illegal move is reported with its move number.
Which searches are supported?
Name (Chinese or English), ECO code (prefix included) and move prefix; leave the box empty to list everything.
Why 95 entries rather than 20?
It covers the main openings and variations across ECO A00-E99, and every stored line passes the legality check.
Does it read the clock or randomness?
No: search and validation are pure functions.
Keywords:chess openingsECO