
Lesson · 6 min Stretch
Shannon's Two Kinds of Search
In one line A machine can search every move a little way, or a few promising moves a long way; each road has its cost.
How far ahead should a machine look? In 1950 Claude Shannon, the American engineer who had founded information theory two years before, published Programming a Computer for Playing Chess. He began by counting. A typical position offers about thirty legal moves, and a game runs to about forty moves for each side, so the possible games are beyond counting. A machine that tried to check them all would need far longer than the age of the universe to choose its first move.
So Shannon set out two kinds of search. The first, which he called Type A, looks at every move to a fixed depth, say two moves for each side, scores the positions it reaches with a formula, and picks the best. The second, Type B, looks only at promising moves, as strong human players seem to, and follows those much further, until the position settles. The first misses nothing near at hand but sees little far away. The second sees far, but can throw away a quiet move that would have won.
The full-width road won first, because machines kept getting faster and judging promise proved hard to program. In 1997 a program called Deep Blue, built by a team of computer scientists and examining up to two hundred million positions a second, beat the reigning world champion in a six-game match. The selective road returned later, in programs that learned for themselves which moves deserve a look.
Most people search the second way without knowing it. Earlier in the course, Turing's Paper Machine gave every move equal care; few people can. The price of Type A is time, and the price of Type B is blind spots. Which suits you depends on how many moves there are, how long you have, and how good your sense of promise really is.
Three minutes in Samarkand

Sevara, a student in Samarkand, plays chess online in the evenings. In three-minute games she has no time to check everything, so she looks only at captures and checks and follows them a few moves deep. It works well until an opponent pushes a quiet pawn that shuts in her bishop. She had not looked at the pawn at all, since it threatened nothing.
In a slow game the next night she tries the opposite: every move, one move deep for each side. She misses nothing close, but uses half her time by the twelfth move and blunders in a hurry later. By the end of the week she has a habit of her own: a quick glance at every move, then a deep look at the two that seem best. Shannon would have recognized both halves.
Try this today In your next game of anything, notice whether you checked every option or only the ones that looked promising.
Cite or share this lesson
A plain reference you can paste into notes or an essay:
Quest2Game. “Shannon's Two Kinds of Search.” https://quest2game.com/learn/lesson/shannons-two-searches. Accessed 30 November 2026.
Sources
- Claude Shannon — The founder of information theory and author of the 1950 paper on programming a computer to play chess.
- Computer chess — Shannon's Type A and Type B searches and how chess programs developed afterwards.
- Deep Blue (chess computer) — The full-width program that won a six-game match against the world champion in 1997.