Chess has been fascinating players and spectators for nearly 2,000 years. With the technological revolution of the last 100 years, computers have become an increasingly important part of our lives, and their effect on chess has been substantial.
Hardware and software developments have given programmers a powerful environment where they can merge chess and computers together.
This article is a brief guide to understanding how chess computers (chess engines) have affected the game of chess:
A chess engine is simply a software program that plays and analyzes chess. The word engine simply refers to a kind of high-powered program that does a lot of searching and processingsimilar to a search engine.
Humans have always been fascinated with machinesincluding chess-playing machines.
In 1796, a fake chess-playing machine called the Automaton was created, but it had a strong human chess player hiding inside playing the moves. In 1912, a machine was created that could actually checkmate with a king and rook vs king.
But it wasnt until 1951 that a computer program was written by Alan Turing that could actually play chess. For the next 50 years, programmers worked on making their chess engines better, and improvements in hardware allowed for stronger play. By 2005, chess engines had definitely become stronger than the best human players. In the years since, they have improved significantly, and now there are hundreds of computer programs that are stronger than human grandmasters.
Humans have gotten better at chess over time as they learn from the collective wisdom of past players. Computers have accelerated this progress, as chess engines have added new knowledge and understanding to the game.
The top players today use chess engines extensively to analyze positions and generate ideas. Unfortunately, this has also introduced cheating to chess, where any player using merely a mobile phone and a chess engine can play better than any grandmaster.
Online chess servers like Chess.com catch hundreds of cheaters each day who cannot resist the urge to win games using computer assistance. Still, fans of the game have benefitted from engines as they have helped improving players get better through analysis, and have also created a spectator sport where top chess engines battle to see which is best.
Chess engines are complex. However, in simplest terms, they do two important things:
1. Evaluate. Chess engines look at individual positions and evaluate which position is better. Almost all chess engines display a evaluation number, or eval, based on the same scoring that most chess players use (a pawn being worth one point, a minor piece three, etc). Each chess engine does this differently, but most engines look at things like material on each side, all the threats on the board, the king safety, and pawn structure.
The cumulative score of the best evaluation in the future is summed up to one number. Traditional engines evaluate similarly to humans because they were designed by humans. Neural net engines (see below) evaluate differently.
The position below is given a cumulative score of +3 by the computer engine Stockfish even though material is equal, because White's piece development is much better. This means that the white position is roughly three pawns better.
2. Search. Like good chess players, engines try to look deeply into the position. The further ahead they can see, the better the move they can make now, as they can evaluate positions that will result after the best possible moves in the future. Each individual chess move is called a ply (a layer), and the depth is explained in how many ply deep. At 20 ply (10 white moves, and 10 black moves), most engines are already evaluating far deeper and stronger than humans. Depending on the time allowed and the complexity of the position, engines can look more than 50 ply deep.
From the current position, an engine starts to look at all of the possible moves and replies. And then all of the possible replies to that. And then all of the possible replies to that! Imagine there are 32 possible moves in any position. After four moves, there are already more than one million positions to evaluate. After just four more moves, that would be more than one trillion position. That becomes extremely unpractical.
So instead, engines try to use smart pruning to look deeply at just the most promising lines, and ignore the obviously bad ones. The engine keeps a running principal variation (PV) of the most promising moves in every position.
Traditional chess engines use complex evaluation functions and intelligent search algorithms to find the best possible move. Their power is also related to how much CPU processing power the phone, computer, or server has. The more powerful and plentiful the CPUs, the stronger the engine becomes.
A neural network (NN) engine is a different kind of chess engine. The first NN was AlphaZero, created by DeepMind (a Google company). In 2017, AlphaZero reportedly crushed Stockfish, the best traditional engine, in a 100-game match. But the match was private and many have questioned the results. However, in 2019, the open-source Lc0 (Leela Chess Zero), did finally become the worlds strongest chess engine in the Chess.com Computer Chess Championship.
A neural network is a series of algorithms and instructions used to evaluate a chess positionexcept we dont know exactly how! A NN is trained by feeding it data (in this case, chess games), and then letting it learn on its own. This is traditionally called machine learning.
The games can come from external sources (like grandmaster games). Or, as in Lc0, the game data comes from playing more than 200 million games against itself. So for NN engines, their evaluation is provided by the neural net.
The introduction of NN engines has also change how search is done. Traditional engines have typically used what is called an alpha-beta (AB) minimax search, where only the best possible moves are evaluated. NN engines, however, choose to use what is called Monte Carlo tree search (MCTS), where the best move is selected based on the probable outcomes of many playouts. Basically, it plays a ton of quick games against itself at super fast speeds with random moves and looks at the moves that seem to have the highest odds of winning.
NN engines also get stronger based on the type of hardware they are run on. They need powerful CPUs. But, even more so, they need powerful GPUs (graphics processing units, like in many gaming computers), because GPUs are faster at processing neural nets.
There are several online chess engine tournaments that match up the best engines. Chess.com runs the Computer Chess Championship, which is an ongoing series of engine-vs-engine tournaments with different engines and formats that you can watch 24/7!
There are many ways to determine the top chess engines. A lot depends on hardware, time control and methodology used. You can look at the rankings for past chess events (such as the CCC), or different online rating systems. Themost recent CCC was won by Lc0, with Stockfish second, Leelenstein third and Antifish fourth.
Traditional Chess Engines:
Neural Network Engines:
Stockfish is an open-source chess engine developed by a large community of chess engine enthusiasts and developers. It has been the strongest traditional chess engine since 2016. Many of the modern chess engine programming methods were pioneered through Stockfish. It uses a complex eval formula and A/B search.
Komodo is a private commercial engine originally developed by Don Dailey and now continued by Mark Lefler and grandmaster Larry Kaufman. How it works is not publicly known, but it claims to rely on a more sophisticated evaluation based on grandmaster understanding and the insights of GM Larry Kaufmann, which is supposed to give it a more human style. It uses a traditional A/B search. It is currently the second strongest traditional chess engine.
Komodo MC is the Monte Carlo search version of Komodo. While the evaluation is the same as regular Komodo, the way it searches is with Monte Carlo tree search instead of A/B minimax. While not quite as strong as regular Komodo, it is improving more quickly.
Houdini is a private commercial chess engine published by Robert Houdart. It has a very fast search and performs well in faster time controls. It loses very few games, and can escape from difficult positions (like its namesake). It is currently the third-strongest traditional chess engine.
Fire is a private non-commercial chess engine by Norman Schmidt. It was originally released in 2010.
Ethereal is a relatively new open-source chess engine by Andrew Grant, developed mostly as a way to learn and improve his programming. It was created in 2016, and was inspired by Stockfish and other chess engines.
Shredder (or Deep Shredder) won many tournaments and titles in the 1990s and went commercial in 1996. Stefan Meyer-Kahlen is the author.
Laser is an open-source chess engine created in 2015 by the brothers Jeffrey and Michael An, technology students in California.
Lc0 (Leela Chess Zero) is an open-source, community-driven neural network engine. Lc0 has a net based on reinforcement learning, which means it has played itself more than 200 million games, and learns only from playing itself. When it first starts its training, Lc0 knows nothing more than the rules of chess.
It uses a Monte Carlo tree search to choose its moves. Lc0 is currently the strongest chess engine in the world, winning the Chess.com Computer Chess Championship in 2019. Lc0 plays a very different kind of chess from Stockfish. It creates exciting, attacking play, and makes moves that traditional chess engines do not understand. Lc0 tends to play endgames in a strange way, often giving up material on purpose to simplify the game instead of choosing the quickest win.
Leelenstien uses most of the code of Lc0, but has a different neural net based on supervised learning, being fed millions of previously-played chess games from chess engines, as opposed to learning from its own games. This net has proved to not be quite as strong as Lc0s net.
Antifish also uses most of Lc0s code, but has a neural net based solely on games played between Lc0 and Stockfish, in an effort to beat Stockfish. Antifish is not as strong as Lc0 or Leelenstein.
Allie is a unique NN engine written by Adam Treat. Allie uses its own Monte Carlo search, move selection, and time management code. Allie can be used with any net, and does not have a net of its own. The Allie author is looking to add A/B search to his engine.
Do you have any questions about computer chess engines? Let us know in the comments.
If you want to watch some of the world's top computer engines play right now, tune in to the Chess.com Computer Chess Championship here.
Continue reading here:
Computer Chess Engines: A Quick Guide - Chess.com
- Chess - Wikipedia [Last Updated On: May 3rd, 2017] [Originally Added On: May 3rd, 2017]
- Chess Engines list @wiki - Computer Chess Wiki [Last Updated On: May 3rd, 2017] [Originally Added On: May 3rd, 2017]
- Top Chess Engine Championship - Wikipedia [Last Updated On: May 3rd, 2017] [Originally Added On: May 3rd, 2017]
- Complete mastery: Gaylord Perry's durable legacy - Kitsap Sun [Last Updated On: May 8th, 2017] [Originally Added On: May 8th, 2017]
- Chess notes - The Boston Globe [Last Updated On: May 8th, 2017] [Originally Added On: May 8th, 2017]
- Russia's richest billionaire Alexei Mordashov's incredible 40million Lady M 'super yacht' dwarfs fishing boats as ... - The Sun [Last Updated On: May 11th, 2017] [Originally Added On: May 11th, 2017]
- Garry Kasparov's next move: teaming up with machines - Toronto Star [Last Updated On: May 11th, 2017] [Originally Added On: May 11th, 2017]
- Final Frontier Friday: 'Q Who' - Science Fiction [Last Updated On: May 13th, 2017] [Originally Added On: May 13th, 2017]
- chess set - Hackaday [Last Updated On: May 30th, 2017] [Originally Added On: May 30th, 2017]
- Download free chess engines - Komodo 10, Houdini [Last Updated On: May 30th, 2017] [Originally Added On: May 30th, 2017]
- New Star Trek VR Game Really Is Like Manning Your Own Starfleet Vessel - Kotaku Australia [Last Updated On: June 1st, 2017] [Originally Added On: June 1st, 2017]
- Detonation; Enthusiastic Racing - TruckTrend Network [Last Updated On: June 8th, 2017] [Originally Added On: June 8th, 2017]
- Carlsen-Nakamura Norway Clash Ends In Draw - Chess.com [Last Updated On: June 8th, 2017] [Originally Added On: June 8th, 2017]
- Rouhani should play chess where Trump is playing the fool - Trend News Agency [Last Updated On: June 8th, 2017] [Originally Added On: June 8th, 2017]
- Landry: 5 takeaways from the first week of pre-season - CFL.ca [Last Updated On: June 12th, 2017] [Originally Added On: June 12th, 2017]
- Literature, Films on Chess Captivates Enthusiasts - High on Sports (blog) [Last Updated On: June 14th, 2017] [Originally Added On: June 14th, 2017]
- Ditmas Park's City Council Candidates Debate Major Issues - BKLYNER [Last Updated On: June 16th, 2017] [Originally Added On: June 16th, 2017]
- The Fourth Industrial Revolution Is About Empowering People, Not The Rise Of The Machines - Forbes [Last Updated On: June 16th, 2017] [Originally Added On: June 16th, 2017]
- Worry about people, not jobs: Garry Kasparov - Economic Times [Last Updated On: June 17th, 2017] [Originally Added On: June 17th, 2017]
- ET Recommendations: Get Google Daydream View for Rs 6499 - Economic Times [Last Updated On: June 18th, 2017] [Originally Added On: June 18th, 2017]
- Free Chess Engine recommendation? - Chess Forums - Chess.com [Last Updated On: June 22nd, 2017] [Originally Added On: June 22nd, 2017]
- Calendar of events for June 29 and beyond - Ocala [Last Updated On: June 29th, 2017] [Originally Added On: June 29th, 2017]
- Ford Daytona Notes and Quotes - 13abc Action News [Last Updated On: July 4th, 2017] [Originally Added On: July 4th, 2017]
- How logic games have advanced AI thinking - ComputerWeekly.com [Last Updated On: August 6th, 2017] [Originally Added On: August 6th, 2017]
- Carlsen Falters In Winning Position, Loses To MVL - Chess.com [Last Updated On: August 6th, 2017] [Originally Added On: August 6th, 2017]
- What Can You Do with Continuous Intelligence? - RTInsights [Last Updated On: October 16th, 2019] [Originally Added On: October 16th, 2019]
- Fifty years ago, it was Boris Spassky's turn to shine at the chessboard - Washington Times [Last Updated On: October 16th, 2019] [Originally Added On: October 16th, 2019]
- Lennart Ootes: "Chess is a sport and sport is emotion" - Chessbase News [Last Updated On: October 16th, 2019] [Originally Added On: October 16th, 2019]
- How To Win With The Halloween Gambit - Chess.com [Last Updated On: November 3rd, 2019] [Originally Added On: November 3rd, 2019]
- GM Larry Kaufman Interview: 'New Repertoire For Black And White' - Chess.com [Last Updated On: November 3rd, 2019] [Originally Added On: November 3rd, 2019]
- Geek of the Week: If theres roadwork ahead, Kurt Stiles uses 3D modeling and more to drive project - GeekWire [Last Updated On: November 17th, 2019] [Originally Added On: November 17th, 2019]
- Introducing Fritz 17 with Fat Fritz and other goodies - Chessbase News [Last Updated On: November 17th, 2019] [Originally Added On: November 17th, 2019]
- Hamburg Grand Prix Final Goes To Tiebreak - Chess.com [Last Updated On: November 17th, 2019] [Originally Added On: November 17th, 2019]
- 100 Years Ago | 22 November 2019 - The Statesman [Last Updated On: November 23rd, 2019] [Originally Added On: November 23rd, 2019]
- Magnus Carlsen takes on the Vishy Anand best games quiz - Chessbase News [Last Updated On: November 23rd, 2019] [Originally Added On: November 23rd, 2019]
- Garry Kasparov on chess, tech, Trump and Putin - Chessbase News [Last Updated On: November 23rd, 2019] [Originally Added On: November 23rd, 2019]
- Tata Steel 2: Wesley So beats Anand as five lead - chess24 [Last Updated On: January 17th, 2020] [Originally Added On: January 17th, 2020]
- Ju vs Goryachkina all tied at the half - Chessbase News [Last Updated On: January 17th, 2020] [Originally Added On: January 17th, 2020]
- Xavier Litt: Chess shows that humans and AI work better together - Irish Examiner [Last Updated On: January 17th, 2020] [Originally Added On: January 17th, 2020]
- The Clipper Race Leg 5 - Race 6, Day 3: Le Mans Race start and finding the wind - Sail World [Last Updated On: January 27th, 2020] [Originally Added On: January 27th, 2020]
- Google Teaches AI To Play The Game Of Chip Design - The Next Platform [Last Updated On: February 27th, 2020] [Originally Added On: February 27th, 2020]
- Top 10 Richest Tech Company CEO's Ranked By Net Worth | TheTalko - TheTalko [Last Updated On: March 13th, 2020] [Originally Added On: March 13th, 2020]
- Beating the Philidor - BusinessWorld Online [Last Updated On: March 13th, 2020] [Originally Added On: March 13th, 2020]
- Out-preparing the Candidates with Fat Fritz (Part 1) - Chessbase News [Last Updated On: March 24th, 2020] [Originally Added On: March 24th, 2020]
- 8 Reasons Vanderpump Rules Needs to Be Rebooted - Variety [Last Updated On: April 11th, 2020] [Originally Added On: April 11th, 2020]
- Chess greats face off online, webcams, arbiters to watch moves - The Indian Express [Last Updated On: April 24th, 2020] [Originally Added On: April 24th, 2020]
- Chess: Breaking the Code - TheArticle [Last Updated On: April 24th, 2020] [Originally Added On: April 24th, 2020]
- "Chess makes me happy": An interview with Boris Gelfand - Chessbase News [Last Updated On: April 24th, 2020] [Originally Added On: April 24th, 2020]
- With new rules and a new normal, NASCAR set to return this weekend - ESPN [Last Updated On: May 15th, 2020] [Originally Added On: May 15th, 2020]
- Who Are The 8 Best U.S. Chess Players Ever? - Chess.com [Last Updated On: July 6th, 2020] [Originally Added On: July 6th, 2020]
- Welcome to the Status Quo of the Streaming Wars - The Ringer [Last Updated On: July 25th, 2020] [Originally Added On: July 25th, 2020]
- The Cockroach's Carapace (and other opening disasters) - Chessbase News [Last Updated On: July 25th, 2020] [Originally Added On: July 25th, 2020]
- These are the best Chess games you can play on Android phone - The Indian Express [Last Updated On: July 25th, 2020] [Originally Added On: July 25th, 2020]
- Early Fire Season Puts Weary Northern California Firefighters On Front Lines For Months - CBS San Francisco [Last Updated On: September 15th, 2020] [Originally Added On: September 15th, 2020]
- AI Ruined Chess. Now, It's Making the Recreation Lovely Once more - editorials360.com [Last Updated On: September 15th, 2020] [Originally Added On: September 15th, 2020]
- The 10 Best Chess Moves Of All Time - Chess.com [Last Updated On: September 15th, 2020] [Originally Added On: September 15th, 2020]
- Is Creativity Dying in Sports? - NYU Washington Square News [Last Updated On: September 15th, 2020] [Originally Added On: September 15th, 2020]
- Norway Chess: Caruana and Firouzja get off to a good start - Chessbase News [Last Updated On: October 7th, 2020] [Originally Added On: October 7th, 2020]
- Chess Online: How to Play and Win Chess | Chess Tips & Strategies - Popular Mechanics [Last Updated On: October 7th, 2020] [Originally Added On: October 7th, 2020]
- How to Experience the Best Games of the Star Wars Universe - Fantha Tracks [Last Updated On: October 27th, 2020] [Originally Added On: October 27th, 2020]
- Plumbing the Depths of Ethanol Ignorance - The Auto Channel [Last Updated On: October 27th, 2020] [Originally Added On: October 27th, 2020]
- Best Free Chess Engines Every Chess Player Should Download ... [Last Updated On: October 27th, 2020] [Originally Added On: October 27th, 2020]
- Netflix's 'The Queen's Gambit' is the best sports show on TV right now - Business Insider - Business Insider [Last Updated On: November 6th, 2020] [Originally Added On: November 6th, 2020]
- The Queen's Gambit: That ending explained and all your questions answered - CNET [Last Updated On: November 6th, 2020] [Originally Added On: November 6th, 2020]
- The joy of hacking - Chessbase News [Last Updated On: November 6th, 2020] [Originally Added On: November 6th, 2020]
- Cognitive Abilities Of Humans Peak At The Age Of 35: Chess Study - Analytics India Magazine [Last Updated On: November 6th, 2020] [Originally Added On: November 6th, 2020]
- Ed Miliband: 'If the Conservatives want a climate election in the next election, I say bring it on' - PoliticsHome.com [Last Updated On: November 29th, 2020] [Originally Added On: November 29th, 2020]
- Online Chess and Working from Home - Chessbase News [Last Updated On: December 4th, 2020] [Originally Added On: December 4th, 2020]
- Superfinals: Nepomniachtchi and Karjakin still tied on top - Chessbase News [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Adults, children, cheating, and online chess - Chessbase News [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Technology - AI and yachting - Superyacht News - The Superyacht Report [Last Updated On: December 29th, 2020] [Originally Added On: December 29th, 2020]
- DeepMind's MuZero AI masters games without knowing the rules - The Burn-In [Last Updated On: December 29th, 2020] [Originally Added On: December 29th, 2020]
- 2020: The year of a pandemic of cheating in online chess - Livemint [Last Updated On: December 29th, 2020] [Originally Added On: December 29th, 2020]
- How Tech Has Changed Traditional Indian Games - United News of India [Last Updated On: December 29th, 2020] [Originally Added On: December 29th, 2020]
- Tata Steel R12: Almost there - Chessbase News [Last Updated On: January 31st, 2021] [Originally Added On: January 31st, 2021]
- Komodo - Chess Engines - Chess.com [Last Updated On: January 31st, 2021] [Originally Added On: January 31st, 2021]
- Gravwell 2nd Edition Will Be Coming Out Later This Year - Bleeding Cool News [Last Updated On: February 14th, 2021] [Originally Added On: February 14th, 2021]
- Fat Fritz 2: The Best of Both Worlds - Chessbase News [Last Updated On: February 14th, 2021] [Originally Added On: February 14th, 2021]
- Fat Fritz 2.0 - The new number 1 - Chessbase News [Last Updated On: February 14th, 2021] [Originally Added On: February 14th, 2021]
- The 25th anniversary of Deep Blue beating Garry Kasparov in a chess game. - Slate [Last Updated On: February 14th, 2021] [Originally Added On: February 14th, 2021]