Recommended Free Tools
A weaker side can win a three-match contest by deliberately losing the first matchup. In the traditional Tian Ji story, the winning order is weak against strong, strong against middle, and middle against weak. The sacrifice produces two favorable pairings and a 2–1 match victory instead of three predictable losses.
The same logic is a mathematical assignment problem: when every item can be used only once, rearrange the pairings to maximize total wins. That is why the puzzle reappears in card games and serves as a useful, limited analogy for how voters can be grouped into electoral districts.
As an Amazon Associate I earn from qualifying purchases.
The move that changes a certain defeat
The traditional setup
The account is associated with Tian Ji, a general at the court of the King of Qi, and the strategist Sun Bin. Academic treatments by Leng and Parlar (2006) and Dana Mackenzie (2014) place the example in fourth-century B.C. China, making it more than 2,000 years old.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchEach side has three horses ranked strong, middle, and weak. The king’s horse is faster than Tian Ji’s horse at every corresponding rank. If the strongest horses race each other, the middle horses race each other, and the weakest horses race each other, Tian Ji loses every race.
#1 Best Overall
- Play it Safe or Risk it All? - In Flip7, you will press your luck by getting dealt cards without revealing the same number twice.
- How to Win - Be the first to reach 200 points in this intense press-your-luck game that tests your risk-taking and strategy abilities.
- Beware of Busting - Rack up points based on the total number value of the cards in front of you but watch out for duplicate numbers that can bust you out of the round.
- Unique Playing Deck - The deck is stacked with multiples of each number, from twelve 12’s, eleven 11’s and so on, along with special action and modifier cards for added excitement.
- Exciting Action Cards: Flip 7 includes Flip Three, Freeze, Second Chance, and Score Modifier cards, adding twists and turns to every round.
Sun Bin’s reordering
- Run Tian Ji’s weak horse against the king’s strong horse.
- Run Tian Ji’s strong horse against the king’s middle horse.
- Run Tian Ji’s middle horse against the king’s weak horse.
The first pairing is an intentional loss. The two remaining pairings are wins, so the overall match is won 2–1. The strategy does not make any horse faster; it changes which opponent each horse faces.
Why this is an assignment problem
In mathematical terms, the horses on one side form one set of objects and the horses on the other side form a second set. Every possible pairing has an outcome, and each horse must be used exactly once. The task is to select a one-to-one assignment that maximizes wins or total score.
This is a form of bipartite matching, or a linear assignment problem when pairings carry numerical scores. The horse story is therefore a small, memorable example of a general optimization pattern rather than a trick that applies only to racing.
Free tools Windows power users keep installed
One-click scans. No signup required.
A practical way to solve a larger version
- List both sides. Record each competitor’s strength or card value and any rule that determines a win.
- Make the matchup matrix. For every possible pairing, mark a win, loss, draw, or score.
- Enforce one-use rules. A selected competitor cannot be assigned again.
- Find the maximum assignment. Choose the set of pairings with the highest total result, even if one pairing must be conceded.
- Check information quality. If strengths or outcomes are uncertain, compare expected scores or robust plans instead of treating every result as guaranteed.
The key insight is that optimizing each matchup separately can be worse than optimizing the complete set. A locally “best” pairing may consume the only competitor capable of creating two later wins.
Rank #2
- UNO MEETS TETRIS: Race to shed all your cards, Uno-style, but with a twist. Strategically play cards based on how they overlap with the card below it (think Tetris). Outwit your opponents and prepare for laughter as you snatch victory from the jaws of defeat!
- 2 PLAYERS OR UP TO 8 PLAYERS: From one-on-one duels to lively gatherings, Overlap delivers endless fun whether you're playing with just 2 players or a full crowd of up to 8 players! Perfect for a cozy couples night in, or a lively get-together with friends and family.
- EASY TO LEARN: Quick to learn, endlessly engaging! Master the rules in under 2 minutes with our instructional video, then dive into a world of strategic twists and turns that will keep you guessing until the end of every game.
- AWARD-WINNING FAMILY GAME: Recommended by American Mensa, Sparks Play Strategic Thinking, and Academics' Choice Brain Toy award-winning game. Enhances strategic thinking and spatial reasoning skills.
- ENDLESS PLAYABILITY: One of the best card games for adults and families with a perfect mix of luck and skill. No two games will be the same!
How the same ordering works with cards
One Round War
Mackenzie calls the card analogue One Round War. Each player has N cards and chooses an order to maximize the number of rounds won. The published treatment formulates the game as an assignment problem, directly extending the horse-race structure.
For a three-round version, the useful order is the same: spend the weakest card against the opponent’s strongest card, then use the stronger cards against the opponent’s remaining cards. A current card-game listing updated July 22, 2026, presents this three-round adaptation; that update date describes the listing, not the age or origin of the Chinese story.
What changes when there are many cards
For large N, Mackenzie describes an optimal pattern in blocks: sacrifice the weakest block against the strongest block, then match the remaining cards in forward order. The exact assignment depends on the values and scoring rules, so the general matrix-and-matching method is safer than assuming that one fixed sequence works in every deck.
Cards also introduce conditions absent from the basic tale. The opponent’s order may be hidden, ties may have special rules, and card values can be probabilistic or affected by information revealed during play. The sacrifice principle remains useful only when its likely cost is smaller than the wins it unlocks.
Rank #3
- Fast-paced gameplay you love: Experience exciting competition as you speed to clear your Blitz pile. No turns taken; first to place cards in sequence wins!
- Perfect for family gatherings: Designed for 2 to 4 players, this game ensures fun-filled family nights and keeps both kids and adults entertained for hours.
- Easy rules for all ages: Simple yet challenging, Dutch Blitz offers effortless learning and engaging gameplay for children, teens, and adults, ages 8 and up.
- 160 colorful cards included: Enjoy endless fun with four decks of vibrant playing cards that enhance your gaming experience with their cheerful color scheme.
- Boosts strategic thinking: Dutch Blitz sharpens reflexes and strategy skills as you aim to outpace opponents in this unique and dynamic card-playing adventure.
What the puzzle can—and cannot—say about gerrymandering
Gerrymandering is an application analogy, not something the ancient account discussed. In district design, a party may accept losing one district in which opposing voters are heavily concentrated, while arranging other districts where its voters form winning majorities. That resembles Tian Ji’s deliberate sacrifice followed by favorable assignments.
The analogy is structural: resources are grouped, one group may be conceded, and the remaining groups are arranged to maximize the total number of wins. Assignment and matching models help explain that structure, but the available treatments do not identify a named modern redistricting case or provide an election statistic tied to this story.
Real districting is also less controllable than the horse race. Boundaries, legal requirements, geography, voter distributions, turnout, and uncertain behavior impose constraints. Opponent strengths are not known with the precision assumed by the traditional puzzle, and a district cannot be treated as an independent race with a guaranteed result.
Horse races, cards and districts compared
| Setting | Is the opponent’s order known? | Are outcomes deterministic? | Can one loss create multiple wins? | Must each object be used once? |
|---|---|---|---|---|
| Tian Ji’s horses | Yes, in the story | Yes, based on relative speed | Yes; one sacrificed race enables two favorable pairings | Yes |
| Card assignment | Sometimes; hidden orders are possible | Depends on card rules and information | Yes, when sacrificing a card improves the remaining assignments | Yes, in the one-round assignment formulation |
| Electoral districts | No; voter behavior and boundaries create uncertainty | No; outcomes are not guaranteed by a simple strength ranking | Potentially, through grouping voters into a conceded district and several targeted districts | Voters and territory must be allocated under additional constraints |
Why the lesson is about order, not overpowering an opponent
Tian Ji does not gain a stronger army of horses, and the card player does not improve the cards. The advantage comes from recognizing that a contest is a package of linked pairings. Once each item can be used only once, the order of encounters determines whether strength is wasted on an even fight or deployed where it can produce a win.
Rank #4
- FIERY FUN CARD GAME FOR KIDS AND ADULTS: Add sizzle to any gathering of family or friends with the Beat the Heat game! In this easy to learn, fast-paced strategy card game, get the fewest points to win. For 2-10 players, ages 8+
- SCORE LOW OR FLAME OUT: Each player strategically adds a number card to one of 4 rows. But careful not to play the 6th card in a row—or collect points! Excitement builds as players choose where to play cards and try to outsmart opponents
- FAST & EASY TO LEARN: Jump right into a game! With simple rules and light strategy, this family card game is easy to learn and fun to master for kids and adults alike. Play in 20 minutes
- BASED ON TAKE 5 CLASSIC CARD GAME: Created by legendary game designer Wolfgang Kramer, this addictive game is based on the beloved Take 5 classic card game that's been captivating players for 30 years
- GREAT GAME FOR GROUPS: Works well as a 2 player game or for groups of up to 10 people. It’s a fun indoor game for Family Game Night, get-togethers, icebreakers, adult game nights, and anytime play
That distinction matters when applying the idea outside a toy example. If the opponent can change its lineup after seeing yours, if outcomes are noisy, or if the rules prevent a sacrifice from improving later matchups, the classic sequence may fail. The assignment framework still provides a way to test alternatives, but the result must reflect the information and constraints of the real setting.
Historical context and the modern mathematical reading
The Tian Ji episode belongs to the strategic tradition associated with Sun Bin and, more broadly, with the writings linked to Sun Tzu. Mackenzie’s 2014 account describes it as the first known example, to his knowledge, of this type of problem in history and quotes the advice to send Tian Ji’s third horse against the king’s first, then the first against the second and the second against the third.
Modern treatments use the story because its three-horse version makes an abstract optimization principle visible. Whether the objects are horses, cards or district groupings, the transferable question is the same: which one-to-one arrangement gives the highest total result when no item can be used twice?
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

