---
title: Introducing Basic Kill Puzzles on LiXiangQi
description: LiXiangQi’s first puzzle release contains 28,604 basic-kill puzzles, organized by named mating patterns. Here is how the categories and multiple solutions work.
language: en
image: https://lixiangqi.com/_images/display?fmt=webp&h=550&op=thumbnail&path=p349Dnaj1Iie.webp&w=880&sig=30e5399dd3bc4be06b63af41a895708f5a726593
---

## Why I wanted this puzzle system

I first encountered Lichess a few years ago when my daughter's chess coach assigned her to practice its mate themes. I was impressed by the number of puzzles and the ability to choose a particular pattern to study. Then I learned that the positions came from real games. I wanted something like that for xiangqi.


Tiantian Xiangqi (天天象棋) comes closest to what I had in mind. It has detailed categories for killing patterns and middlegame tactics, and I've spent time working through them. I've found few other xiangqi apps that let me study the basic kills in this way.


![Tiantian Xiangqi's puzzle-category selection screen.](https://lixiangqi.com/_images/display?op=noop&path=M-NbvzIO7EZj.png&sig=706a77797b144ce6cbd784c848c92b05da1acc9f)


*Figure 1. Tiantian Xiangqi's category screen. The tabs are All, Killing-Method Training, and Middlegame Tactics; Middlegame Tactics is selected here.*


## What is a basic kill?

If you play international chess, think of named mating patterns such as Anastasia's mate, Boden's mate, or the ladder mate. Xiangqi has its own collection. The Chinese term 基本杀法 is commonly translated as “basic killing methods,” or “basic kills.”


The category is a little broader than checkmate patterns. Stalemate is also a loss in xiangqi, and some named methods describe an attacking maneuver or an endgame technique. Depending on the source, you'll find around 25 major basic kills and another 20–30 minor ones.


A single “checkmate” puzzle category doesn't help much when you want to practice one of these until you recognize it. LiXiangQi lets you choose the named pattern.


## Choosing the categories

Tiantian's course teaches a core set of 25 basic kills. After comparing several sources and curricula, I chose that set as LiXiangQi's starting point. There is considerable agreement about the main patterns, but the names and boundaries get messy once you include the minor ones.


Jim Png Hau Cheng discusses many of them in his *Lexicon of Xiangqi* and *The Basic Kills: A Beginner's Companion to Xiangqi*. Eunuch Chasing the Emperor, Repatriation of the Buddha, and Child Worships Buddha (童子拜佛), for example, involve closely related soldier attacks. LiXiangQi gives each a separate category test. Iron Bolt and Small Iron Bolt differ in the piece delivering the final kill: a chariot in the former, a soldier in the latter.


My “[Every Basic Kills](https://lixiangqi.com/video/r3mA4yCCvwsa)” video covers 53 names, about half of which are minor patterns. The first 25 receive most of the attention. LiXiangQi follows the same organization, with additional patterns under Other Named Basic Kills. General Disrobing and Child Worships Buddha could sit under general and soldier themes, but keeping the additional names together makes the core set easier to find.


## The icons

I wanted the icons to draw on the Chinese names and their imagery. Each piece family also has a color: red for chariots, ivory and blue for horses, green for cannons, plum for soldiers, gold for generals, and turquoise for the additional named themes.


Elbow Horse (卧槽马) evokes a horse resting beside a manger or feeding trough. If your opponent can build a stable and host their cavalry so close to your palace, you're in deep trouble. Its icon shows a horse lying beside the trough.


The Octagonal Horse icon uses a folding fan with eight ribs, referring to a horse's eight possible destinations. The actual mating pattern places the horse at the palace corner diagonally opposite the enemy general, where it restricts the general's exits. The fan illustrates the name; it isn't a position diagram.


For Spring Horse Checkmate, the icon is a crossbow. A chariot blocks the horse's leg, then moves to release a discovered check. Moving the chariot is like pulling the trigger. The icon keeps the horse category's ivory and blue colors even though no horse appears in it.


![LiXiangQi's twenty-five core basic-kill icons.](https://lixiangqi.com/_images/display?fmt=png&h=0&op=resize&path=9b9l7iwURKC-.png&w=800&sig=72fe4d8becf90c7087c9589119de8ae86ddc78cc)


*Figure 2. The site's 25 core icons, read left to right and top to bottom: four chariot themes, eight horse themes, eight cannon themes, four soldier themes, and one general theme.*


![Additional named basic-kill icons and Horse and Cannon Mating Methods.](https://lixiangqi.com/_images/display?fmt=png&h=0&op=resize&path=b4bbVy2lSfZC.png&w=800&sig=292d2eff9f31508a1353890cb880b8091decaec4)


*Figure 3. Eunuch Chasing the Emperor, Child Worships Buddha, Small Iron Bolt, General Disrobing, and Horse and Cannon Mating Methods. Repatriation of the Buddha and Iron Bolt appear in Figure 2.*


## More than one solution

Lichess generally requires a single clearly best move at each step, with an exception for multiple mates in one. LiXiangQi accepts multiple shortest stored solutions, including alternatives that appear later in a puzzle.


You might have two moves that both force mate in two. Or a five-move solution might have only one opening move, then branch into several equally short wins after the opponent's second reply. These are positions you encounter in games, and I wanted to keep them available for practice.


Our initial game collection also comes from a limited seed, including DPXQ, GDChess, and XQDao. Rejecting every position with more than one solution would discard many useful examples. It would especially restrict categories such as Moon Scooping Checkmate (海底捞月), which describes an endgame method with several possible continuations. Every stored basic-kill solution still has to reach a terminal win.


On October 18, 2026, 41.89% of the 28,604 active basic-kill puzzles had multiple stored solution paths. Most alternatives appeared after the first move: 93.95% of the puzzles had just one stored opening move.


## Playing a move outside the stored solution

When you follow a stored solution, the puzzle responds without another engine search. But I also wanted the flexibility I had encountered in Tiantian: a slightly inefficient move should not end an otherwise successful attempt.


Suppose you start a mate-in-five puzzle and choose a move outside its stored solutions. The engine now finds a mate-in-six continuation. LiXiangQi can let you continue if the engine establishes a complete legal win within your remaining move allowance.

| Stored solution length | Maximum player moves |
| ---------------------- | -------------------- |
| 1 move | 3 |
| 2 moves | 4 |
| 3 moves | 9 |
| n moves, for n ≥ 3 | 3 × n |



Only your moves count toward this allowance. It is fixed when the puzzle begins and does not reset when you deviate. A win on the last allowed move counts. Losing the forced win, drawing, or exceeding the allowance fails the attempt.


The engine runs in your browser. Before accepting a deviation, the system checks that the continuation replays legally and ends in a win under the site's rules. A mate score by itself is insufficient. If the engine cannot establish a usable continuation, you receive an evaluation error.


I chose this behavior because I liked being able to work through a position against the engine. You still have to finish the win, but you have some room to find your own way there.


## Which pattern did the puzzle actually teach?

One frustration I've had with Tiantian is that a harder puzzle can carry a pattern's name when that pattern is only threatened or appears briefly along the way. A horse might pass through an elbow square without contributing to the final kill. That doesn't give me much practice with Elbow Horse.


The easier puzzles tend to be textbook examples. At higher levels, a line might combine an elbow horse, a centroid pawn attack, and a throat-cutting action before ending in White-Faced General Checkmate. Tagging all four describes the combination, but I may be trying to study just the finish.


LiXiangQi therefore generally classifies the terminal position or final killing sequence. Spring Horse Checkmate, for example, requires the final chariot move to release the horse's check and seal an escape. A spring horse action earlier in the line is insufficient. If the finish instead uses a centroid pawn supporting the horse, it may qualify as Centroid Pawn Attack under that category's test.


Some categories do explicitly test actions within the solution. The final board is not the sole basis for every test.


For Elbow Horse, the terminal position must contain a horse on an elbow square that contributes to the kill. It must either give check or control at least one potential escape square. The horse need not be the only checking piece or the only piece controlling that escape. The test examines the position after a possible general move, including captures, so a horse sitting on the right square without doing any work does not qualify. Special horse-and-cannon finishes have a separate test.


### Every stored branch must qualify

Multiple solutions make categorization harder. Suppose one stored line qualifies only as Centroid Pawn Attack, while another qualifies only as Double Cannons. Neither tag describes both solutions, so the puzzle is excluded from the normal release. If both lines qualify for a third category, that shared tag can be kept. Several tags can be retained when every required stored branch passes each test.


A basic-kill puzzle must have a verified solution that fits at least one supported category. “Mate in three” alone does not identify the pattern you will practice.


The verifier considers player alternatives against one engine-selected defense at each turn. It does not enumerate every legal defense. Category agreement therefore applies to the stored branches. If you take a longer, engine-approved detour during playback, the system checks that you can still win within the allowance; it does not reclassify your detour against the original tags.


For the same reason, user tags and category votes are disabled in this release. Someone who sees an angler horse in one solution may reasonably add that tag without realizing another stored solution uses a different finish. Keeping the tests in the classifier lets us check all required stored branches before assigning a category.


### Mating methods by piece type

Tiantian also has broader categories such as chariot kills, cannon kills, and horse-and-cannon methods. LiXiangQi includes these alongside the named patterns.


When the winning side is not in check, every move must use one of the named piece types, and each named type must move at least once. Every check against the losing general must also come from a named type. A player who is in check may use any piece to escape.


Horse and Cannon Mating Methods, for example, requires both a horse and a cannon to move while the winning side is not in check. All such moves must use one of those two types, and every check must come from a horse or cannon. Other pieces can still provide support. The category covers more positions than the specific Horse Cannon Checkmate pattern, 马后炮, in the core set.


## How the puzzles are built

Discovery analyzes positions from the source games with Pikafish, using depth 20 by default. For a basic-kill candidate, it looks for a move that changes the moving player's position from one not already evaluated as a forced loss to one where the opponent has a reported forced mate within the construction limit. In other words, it looks for a mistake you can punish with a forced win. This mate transition has no additional fixed advantage-swing threshold; numerical loss thresholds are used for tactical discovery.


Verification also uses depth 20 by default. It explores the player's reported shortest mating moves, follows one engine-selected defensive reply at each turn, and builds complete continuations. It keeps the shortest completed paths, including ties, and reconsiders moves when the constructed line's length differs from the engine's prediction.


The search has a five-minute construction deadline and a 31-ply line limit. A ply is one move by either player. An incomplete search cannot produce an accepted solution. These limits also mean the result is not a mathematical proof of the globally shortest mate.


Finally, the classifier tests the completed solution set. A category is retained only if every required stored branch passes. If no supported category survives, the puzzle is left out of the normal release.


This is the puzzle system I wanted when I began LiXiangQi: named patterns I can choose to practice, drawn from actual games, with room to find more than one winning continuation. You can [browse the basic-kill categories on the Puzzle Themes page](https://lixiangqi.com/training/themes).


## Multiple solutions in the first release

These figures describe the 28,604 active basic-kill puzzles on October 18, 2026, excluding retired puzzles and non-mating tactics. A “path” means a stored solution line ending in a win, not every legal continuation. Length counts the solver’s moves, excluding the opponent’s replies.


### Opening alternatives

| Stored opening moves | Puzzles | Percentage |
| -------------------- | ------- | ---------- |
| 1 | 26,874 | 93.95% |
| 2 | 1,428 | 4.99% |
| 3 | 142 | 0.50% |
| 4+ | 160 | 0.56% |



### Alternatives by puzzle length

| Solver moves | Puzzles | Multiple stored paths | Multiple opening moves |
| ------------ | ------- | --------------------- | ---------------------- |
| 1 | 6,015 | 6.35% | 6.35% |
| 2 | 3,681 | 17.98% | 7.47% |
| 3 | 3,333 | 33.24% | 7.62% |
| 4 | 3,409 | 47.35% | 7.60% |
| 5 | 3,218 | 58.17% | 6.00% |
| 6 | 2,984 | 65.42% | 4.56% |
| 7 | 2,404 | 71.84% | 4.24% |
| 8 | 1,682 | 73.37% | 3.45% |
| 9–10 | 1,435 | 76.45% | 3.41% |
| 11–16 | 443 | 75.62% | 4.97% |



### Stored paths across the pool

The median is one stored terminal path; the mean is 4.75. Among puzzles with multiple paths, the median is three and the mean is 9.95.

| Share of puzzles covered | At most this many stored paths |
| ------------------------ | ------------------------------ |
| 75% | 3 |
| 80% | 4 |
| 90% | 7 |
| 95% | 15 |
| 99% | 68 |



Only 179 puzzles—0.63%—have 100 or more stored paths, but they account for 25.52% of all stored paths. The highest-count 1% of puzzles account for approximately 32%.
