History Of Chess Engines
   HOME

TheInfoList



OR:

The
history of chess The history of chess can be traced back nearly 1500 years to its earliest known predecessor, called chaturanga, in India; its prehistory is the subject of speculation. From India it spread to Persia. Following the Arab invasion and conquest ...
began nearly 1500 years ago, and over the past millennium and a half the game has changed drastically. No technology or strategy, however, has changed chess as much as the introduction of
chess engine In computer chess, a chess engine is a computer program that analyzes chess or chess variant positions, and generates a move or list of moves that it regards as strongest. A chess engine is usually a back end with a command-line interface wit ...
s. Despite only coming into existence within the previous 70 years, the introduction of chess engines has molded and defined how top chess is played today.


Pre-computer era engines ( - 1940s)


The Mechanical Turk

The earliest form of a 'chess engine' appears in the 18th century with a machine named the
Mechanical Turk The Turk, also known as the Mechanical Turk or Automaton Chess Player (german: Schachtürke, ; hu, A Török), was a fraudulent chess-playing machine constructed in the late 18th century. From 1770 until its destruction by fire in 1854 it was ...
. Created by Hungarian inventor
Wolfgang von Kempelen Johann Wolfgang Ritter von Kempelen de Pázmánd ( hu, Kempelen Farkas; 23 January 1734 – 26 March 1804) was a Hungarian author and inventor, known for his chess-playing "automaton" hoax The Turk and for his speaking machine. Personal lif ...
, the Mechanical Turk, a life sized human model, debuted in 1770 as the worlds first autonomous chess robot. The Mechanical Turk could play chess and beat opponents, even going as far as solving the iconic
knight's tour A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once. If the knight ends on a square that is one knight's move from the beginning square (so that it could tour the board again im ...
chess puzzle. From 1770 to 1854 the Mechanical Turk would remain in operation, only to eventually go down in a fire. Years after the machines demise the hoax would be uncovered, with a human being the true source of the Mechanical Turk's intelligence the entire time.See Schaffer, Simon (1999), "Enlightened Automata", in Clark et al. (Eds), ''The Sciences in Enlightened Europe'', Chicago and London, The University of Chicago Press, pp. 126–165.


El Ajedrecista

The first real instance of a chess computer would appear in 1912, with an automaton named
El Ajedrecista ''El Ajedrecista'' ( en, The Chess Player) is an automaton built in 1912 by Leonardo Torres y Quevedo in Madrid, one of the first autonomous machines capable of playing chess. As opposed to the human-operated The Turk and Ajeeb, ''El Ajedrecista' ...
built by
Leonardo Torres y Quevedo Leonardo Torres y Quevedo (; 28 December 1852 – 18 December 1936) was a Spanish civil engineer and mathematician of the late nineteenth and early twentieth centuries. Torres was a pioneer in the development of the radio control and automated ...
. Unlike the Mechanical Turk, El Ajedrecista was actually the first autonomous machine capable of playing chess. El Ajedrecista could play an
endgame Endgame, Endgames, End Game, End Games, or similar variations may refer to: Film * ''The End of the Game'' (1919 film) * ''The End of the Game'' (1975 film), short documentary U.S. film * ''Endgame'' (1983 film), 1983 Italian post-apocalyptic f ...
with white, in which white has a king and rook, while black only has a king. The machine was capable of checkmating the black king (played by a human) every time, and able to identify illegal moves. El Ajedrecista marked the first actual chess engine, and created lots of excitement around the field in general.


The beginning of chess computing (1940s - 1950s)

World War II would lead to astonishing technological breakthroughs, the largest of these of course being the invention/creation of the computer. Two men,
Alan Turing Alan Mathison Turing (; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher, and theoretical biologist. Turing was highly influential in the development of theoretical com ...
and
Claude Shannon Claude Elwood Shannon (April 30, 1916 – February 24, 2001) was an American people, American mathematician, electrical engineering, electrical engineer, and cryptography, cryptographer known as a "father of information theory". As a 21-year-o ...
pioneered these innovations, and come the end of WW2 both would pick up an interest in programming a chess engine. In 1949, Claude Shannon would publish a paper detailing a program that could potentially play chess against a human. One year later, Alan Turing would create the first computer chess playing algorithm, yet the hardware at the time lacked in power. Turing would test his algorithm by hand, and although the algorithm itself was weak, Turing and Shannon had laid the foundation of greatness. In 1951 a close colleague of Turing, a man named
Dietrich Prinz Dietrich Gunther Prinz (March 29, 1903 – December 1989) was a computer science pioneer, notable for his work on early British computers at Ferranti, and in particular for developing the first limited chess program in 1951. Biography Prinz was bo ...
, would manage to create and implement a basic chess algorithm that was capable of solving mate in two. The algorithm ran on the
Ferranti Mark 1 The Ferranti Mark 1, also known as the Manchester Electronic Computer in its sales literature, and thus sometimes called the Manchester Ferranti, was produced by British electrical engineering firm Ferranti Ltd. It was the world's first commer ...
, the first commercially available computer, and although lacking the power to play a full game would serve as a proof of concept for chess computing. Finally, in 1957 an IBM engineer named Alex Bernstein created the worlds first fully automated chess engine. The engine was built for the IBM 704 mainframe, and took around eight minutes per move. Capable of playing an entire game, this engine would mark the real beginning of chess computing.


The rise of chess engines (1960s - 1970s)

The rapid advancement of computing in the 1960s and 1970s was key in increasing chess engine strength, both drastic software and hardware innovations lead to stronger engines.


Software advancements

The most iconic game algorithm of all, the
Minimax Minimax (sometimes MinMax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, game theory, statistics, and philosophy for ''mini''mizing the possible loss for a worst case (''max''imum loss) scenario. When de ...
algorithm and its
alpha-beta pruning Alphabeta is an Israeli musical group. Alphabeta or Alpha Beta may also refer to: *The Greek alphabet, from ''Alpha'' (Αα) and ''Beta'' (Ββ), the first two letters *Alpha Beta, a former chain of Californian supermarkets *Alpha and beta anomers ...
optimization, was and remains key to chess programming and optimization. This algorithm, initially proven in 1928 by
John von Neumann John von Neumann (; hu, Neumann János Lajos, ; December 28, 1903 – February 8, 1957) was a Hungarian-American mathematician, physicist, computer scientist, engineer and polymath. He was regarded as having perhaps the widest cove ...
, focuses on maximizing one players score while minimizing the others. Major improvements to this algorithm would be developed specifically for chess programming, with the main goal of increasing search depth. These included... * Move selection techniques *
Heuristic A heuristic (; ), or heuristic technique, is any approach to problem solving or self-discovery that employs a practical method that is not guaranteed to be optimal, perfect, or rational, but is nevertheless sufficient for reaching an immediate, ...
approaches *
Iterative deepening In computer science, iterative deepening search or more specifically iterative deepening depth-first search (IDS or IDDFS) is a state space/graph search strategy in which a depth-limited version of depth-first search is run repeatedly with inc ...
* Opening/ending databases During this time certain chess grandmasters would also devote themselves to the improvement of chess programming, with their advanced knowledge of the game. Most notably previous World Chess Champion
Mikhail Botvinnik Mikhail Moiseyevich Botvinnik, ( – May 5, 1995) was a Soviet and Russian chess grandmaster. The sixth World Chess Champion, he also worked as an electrical engineer and computer scientist and was a pioneer in computer chess. Botvinnik ...
, who wrote several papers on the subject, specifically related to move selection techniques.


Hardware advancements

Previously the greatest limiter people like Turing and Dietrich had to face, hardware advanced at an astonishing rate. In 1965
Gordon Moore Gordon Earle Moore (born January 3, 1929) is an American businessman, engineer, and the co-founder and chairman emeritus of Intel Corporation. He is also the original proponent of Moore's law. As of March 2021, Moore's net worth is rep ...
observed that transistor count in computers had been doubling every two years, increasing hardware speed at an exponential rate. This is commonly referred to as
Moore's law Moore's law is the observation that the number of transistors in a dense integrated circuit (IC) doubles about every two years. Moore's law is an observation and projection of a historical trend. Rather than a law of physics, it is an empir ...
, and still holds true today. Chess specific hardware also became prominent for chess engines in this time. In 1978 a chess engine named Belle would win the
North American Computer Chess Championship The North American Computer Chess Championship was a computer chess championship held from 1970 to 1994. It was organised by the Association for Computing Machinery and by Monty Newborn, Professor of Computer Science at McGill University. It was one ...
run by the
Association for Computing Machinery The Association for Computing Machinery (ACM) is a US-based international learned society for computing. It was founded in 1947 and is the world's largest scientific and educational computing society. The ACM is a non-profit professional member ...
, the engines special hardware allowed it to analyze around thirty million positions in three minutes. This is also aided by the fact that Belle held both opening and ending database's, greatly aiding the hardware speed. Belle would go on to become to first chess engine to receive a Master rating two years later.


Closing the gap (1960s - 2000s)


Early competition

The chess engines of 1960s and 1970s failed to compete with top chess players. In 1968, International Master David Levy offered $3000 to any chess engine that could best him in the next ten years. In 1977 Levy would face the chess engine
Kaissa Kaissa (russian: Каисса) was a chess program developed in the Soviet Union in the 1960s. It was named so after Caissa, the goddess of chess. Kaissa became the first world computer chess champion in 1974 in Stockholm. History By 1967, a c ...
, coming out without losing a single match. The 1980s saw a computer land in every household, and suddenly chess computing began to become a real business. In 1980
Edward Fredkin Edward Fredkin (born October 2, 1934) is a distinguished career professor at Carnegie Mellon University (CMU), and an early pioneer of digital physics. Fredkin's primary contributions include work on reversible computing and cellular automata. ...
, computer science professor at
Carnegie Mellon University Carnegie Mellon University (CMU) is a private research university in Pittsburgh, Pennsylvania. One of its predecessors was established in 1900 by Andrew Carnegie as the Carnegie Technical Schools; it became the Carnegie Institute of Technology ...
, would offer up monetary prizes for chess engines to break barriers in the chess world. These included $10,000 for the first engine to reach Grandmaster level, and $100,000 for the first engine to beat a chess world champion. Suddenly competition in chess computing had become very real, and top minds were at play.


Deep Blue

Deep Blue Deep Blue may refer to: Film * ''Deep Blues: A Musical Pilgrimage to the Crossroads'', a 1992 documentary film about Mississippi Delta blues music * Deep Blue (2001 film), ''Deep Blue'' (2001 film), a film by Dwight H. Little * Deep Blue (2003 ...
would begin under a different name,
ChipTest ChipTest was a 1985 chess playing computer built by Feng-hsiung Hsu, Thomas Anantharaman and Murray Campbell at Carnegie Mellon University. It is the predecessor of Deep Thought which in turn evolved into Deep Blue. ChipTest was based on a special ...
. ChipTest was developed and built by
Feng-hsiung Hsu Feng-hsiung Hsu (born January 1, 1959) () (nicknamed Crazy Bird) is a Taiwanese-American computer scientist and the author of the book ''Behind Deep Blue: Building the Computer that Defeated the World Chess Champion''. His work led to the creati ...
,
Thomas Anantharaman Thomas S. Anantharaman is a computer statistician specializing in Bayesian inference approaches for NP-complete problems. He is best known for his work with Feng-hsiung Hsu from 1985-1990 on the Chess playing computers ChipTest and Deep Th ...
and
Murray Campbell Murray Campbell is a Canadian computer scientist known for being part of the team that created Deep Blue; the first computer to defeat a world chess champion. Biography Campbell was involved in surveillance projects related to petroleum produ ...
at Carnegie Mellon. They would initially enter the engine into the 1986 North American Computer Chess Championship and fall short, but come back the next year with an improved version and win the competition in a 4-0 sweep. The team would develop a new machine starting 1988, named Deep Thought. Deep Thought had significant advantages over its previous version, and would stand apart from its competition. It would become the first engine to beat a grandmaster when it played
Bent Larsen Jørgen Bent Larsen (4 March 1935 – 9 September 2010) was a Danish chess grandmaster and author. Known for his imaginative and unorthodox style of play, he was the second strongest non-Soviet player, behind Bobby Fischer, for much of the 196 ...
in a regular tournament match the same year it came out. Deep Thought would continue on to win the
World Computer Chess Championship World Computer Chess Championship (WCCC) is an event held periodically since 1974 where computer chess engines compete against each other. The event is organized by the International Computer Games Association. It is often held in conjunction with ...
with an unbeaten 5-0 record the following year. Yet it would still fall to Garry Kasparov in two matches the same year, the gap between human and machine remained. For the following years Deep Thought would remain the chess engine champion, eventually becoming Deep Thought 2 and winning the
North American Computer Chess Championship The North American Computer Chess Championship was a computer chess championship held from 1970 to 1994. It was organised by the Association for Computing Machinery and by Monty Newborn, Professor of Computer Science at McGill University. It was one ...
for the fifth time. In 1994 the team would become sponsored by IBM, the time of Deep Thought was ending. Finally in 1995, a new chess engine prototype was released from the team at IBM, Deep Blue. The engine would be completed in 1996, and in the same year would go on to face chess champion
Garry Kasparov Garry Kimovich Kasparov (born 13 April 1963) is a Russian chess grandmaster, former World Chess Champion, writer, political activist and commentator. His peak rating of 2851, achieved in 1999, was the highest recorded until being surpassed by ...
for the first time. The match with Kasparov last six games, in which Deep Blue lost 4-2. But this still marked the first time a chess engine would beat the current chess champion in a regular match. Yet just a year later the team at IBM would have another chance, Deep Blue was upgraded and worked on by both engineers and top chess grandmasters. In a match that would become iconic, Deep Blue would become the first chess engine to beat the current chess champion in a full chess match. Despite controversial claims on Kasparov's behalf that IBM had cheated, the result marked a momentous achievement in chess computing.


The era of super-human engines (2000s - current)

Kasparov's defeat would mark the end of a time when the best humans could beat the engines. Money continued to flow into chess computing and the industry flourished, not without controversy however. In 2011, the four time reigning champion engine
Rybka Rybka is a computer chess engine designed by International Master Vasik Rajlich. Around 2011, Rybka was one of the top-rated engines on chess engine rating lists and won many computer chess tournaments. After Rybka won four consecutive World ...
, was disqualified from the
World Computer Chess Championship World Computer Chess Championship (WCCC) is an event held periodically since 1974 where computer chess engines compete against each other. The event is organized by the International Computer Games Association. It is often held in conjunction with ...
for code plagiarism.ICGA Investigation Documents
None. Retrieved on April 8th, 2022.
New competitions would also spring up, with the
Top Chess Engine Championship Top Chess Engine Championship, formerly known as Thoresen Chess Engines Competition (TCEC or nTCEC), is a computer chess tournament that has been run since 2010. It was organized, directed, and hosted by Martin Thoresen until the end of Season 6; ...
being founded in 2010 with a stronger emphasis on automated play, longer games, and allowing stronger hardware. Up until the late 2010s the world of chess computing was advancing slowly, but the progress remained consistent and the engines stronger than ever. That was until 2017 when a team of programmers at Google company
DeepMind DeepMind Technologies is a British artificial intelligence subsidiary of Alphabet Inc. and research laboratory founded in 2010. DeepMind was List of mergers and acquisitions by Google, acquired by Google in 2014 and became a wholly owned subsid ...
released a brand new engine,
AlphaZero AlphaZero is a computer program developed by artificial intelligence research company DeepMind to master the games of chess, shogi and go. This algorithm uses an approach similar to AlphaGo Zero. On December 5, 2017, the DeepMind team rel ...
.


Neural network revolution

At the end of 2017 engineers at DeepMind released an engine that would shock the chess computing world. AlphaZero was fundamentally based on a different approach to chess computing, something that had never really been seen before. While previous engines had relied on searching through trees and evaluating positions, AlphaZero relied on a deep
neural network A neural network is a network or circuit of biological neurons, or, in a modern sense, an artificial neural network, composed of artificial neurons or nodes. Thus, a neural network is either a biological neural network, made up of biological ...
for its analysis. This essentially meant AlphaZero could learn chess by itself. The initial tests with AlphaZero were staggering; in a 100 game match against the current strongest engine
Stockfish Stockfish is unsalted fish, especially cod, dried by cold air and wind on wooden racks (which are called "hjell" in Norway) on the foreshore. The drying of food is the world's oldest known preservation method, and dried fish has a storage lif ...
, AlphaZero won 28 games and tied the remaining 72. In many ways AlphaZero served not only as a breakthrough for chess computing, but for the AI world in general. Since 2017, the presence of neural networks the in the worlds top chess engines has only grown. All top engines nowadays,
Leela Chess Zero Leela Chess Zero (abbreviated as LCZero, lc0) is a free, open-source, and deep neural network–based chess engine and volunteer computing project. Development has been spearheaded by programmer Gary Linscott, who is also a developer for the S ...
, Stockfish, and
Komodo Komodo may refer to: Computers * Komodo Edit, a free text editor for dynamic programming languages * Komodo IDE an integrated development environment (IDE) for dynamic programming languages * Komodo (chess), a chess engine People * Komodo ...
have all included neural networks in their engines. Yet the
deep reinforcement learning Deep reinforcement learning (deep RL) is a subfield of machine learning that combines reinforcement learning (RL) and deep learning. RL considers the problem of a computational agent learning to make decisions by trial and error. Deep RL incorpor ...
used for AlphaZero remains uncommon in top engines.


Also see

*
Computer chess Computer chess includes both hardware (dedicated computers) and software capable of playing chess. Computer chess provides opportunities for players to practice even in the absence of human opponents, and also provides opportunities for analysi ...


References

{{Chess Chess engines Computer chess