Build and Drill a Chess Opening Repertoire with Spaced Repetition
Build White and Black opening repertoires move by move, import PGN files with variations, and remember your lines with spaced-repetition drills.

Build and Drill a Chess Opening Repertoire with Spaced Repetition
Many club players have read about their openings but still forget the move when it appears on the board. The fix is not more reading. It is a written-down repertoire, a small set of lines you have chosen, and regular recall practice. This guide explains how to build such a repertoire and drill it with the free chess opening repertoire trainer.
What a repertoire is
A repertoire is a tree of moves. On your own turns there is normally one chosen move. On your opponent's turns there can be several replies, because you need an answer to each reasonable one. A good repertoire is narrow on your side and broad enough on the other side to cover what you actually meet.
Keep White and Black separate. As White you decide the first move; as Black you need answers to 1.e4, 1.d4 and the rest. The trainer keeps a White repertoire and a Black repertoire, each with its own tree.
Building lines on the board
You add moves by playing them on the board. Only legal moves are accepted, and castling, en passant and promotion (with a choice of piece) all work. If you play a different move from a position that already has one, a new variation branches off. You can:
- write a comment for any position, such as the plan or a typical trap;
- make a variation the main line;
- delete a branch you no longer play.
Comments are worth the effort. A note like "aim for c3 and d4" helps you more in a game than memorising ten extra moves.
Importing and exporting PGN
If you already have lines in another program, import a PGN file. Games, studies and exports from Lichess or ChessBase are read with their variations, comments and NAGs (symbols such as ! and ?!). Imported moves are merged into your existing tree rather than replacing it. You can export the whole repertoire as PGN to back it up or open it elsewhere.
A worked example
Suppose you play 1.e4 as White and want to learn the Ruy Lopez main line. Play these moves on the board in your White repertoire:
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O
Add a comment after 3.Bb5 such as "pressure on the knight that defends e5". Then go back to the position after 1.e4 and play 1...c5, the Sicilian, as a second Black reply. Continue with 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3. Now your tree has two branches from move one, and each ends on a position where you have made your move.
How drill mode works
In a drill, the trainer plays the opponent's moves along one of your lines until it reaches a position where it is your turn. You must play your repertoire move. If you are right, it continues; if not, it shows the correct move.
Which positions you see is decided by spaced repetition using Leitner boxes. Each position you need to know starts in box 1. A correct answer moves it up one box, and each box has a longer review interval: 0, 1, 3, 7, 14, 30, 60 and 120 days. A wrong answer sends the position back to box 1. Easy moves soon appear only every few months, while weak spots come back often.
A new-positions-per-day limit stops a large import from swamping you. Ten or twenty new positions a day is a reasonable start; adjust it to the time you have.
Transpositions
The same position can arise from different move orders. The trainer merges transpositions by position, so a position reached by two routes is stored and drilled once, with one answer. This matches how you think at the board: you respond to the position, not the move order.
Reviewing mistakes
A mistake review list shows the positions you miss, sorted by how often you missed them. A daily accuracy log shows whether your recall is improving. If one position keeps failing, add a comment explaining why the move is played. Understanding usually fixes what repetition alone does not.
Everything runs in your browser, and your repertoire stays on your device. Export a PGN now and then as a backup.
Practical tips
Start small: one answer to each of your opponent's most common moves, five to eight moves deep. Extend lines only when you meet them in your own games. After each game, check where you left your preparation and add that position.
Limits
This tool has no engine evaluation, so it does not tell you whether a move is objectively good; check lines with a separate analysis tool before adding them. Drills start from the standard starting position. Most importantly, memorised moves are not a replacement for understanding the plans and pawn structures that follow from them.


