Chess engine

From Wikipedia, the free encyclopedia

A chess engine is a computer program that can play the game of chess.

Contents

[edit] Interface

Most chess engines do not have their own graphical user interface (GUI) but are rather console applications that communicate with a GUI such as XBoard (Linux) and WinBoard (Windows) via a standard protocol.

[edit] Protocols

The command line interface of GNU Chess became the initial de facto standard, called the Chess Engine Communication Protocol and first supported by XBoard. There is now a newer protocol, the Universal Chess Interface. Some engines support both protocols, and each protocols have their supporters. The Chess Engine Communication Protocol is more popular but many chess engine developers feel that the Universal Chess Interface is easier to implement. Some interface programs, such as Arena, support both protocols whereas others, such as WinBoard, support only one and depend on subsidiary interpretors, such as Polyglot, to translate.

[edit] Increasing strength

Main article: Computer chess

Chess engines increase in playing strength each year. This is partly due to the increase in processing power that enables calculations to be made to ever greater depths in a given time. In addition, programming techniques have improved enabling the engines to be more selective in the lines that they analyse and to acquire a better positional understanding.

Some chess engines use endgame tablebases to increase their playing strength during the endgame. An endgame tablebase is a database of all possible endgame positions with small groups of material. Each position is conclusively determined as a win, loss, or draw for the player whose turn it is to move, and the number of moves to the end with best play by both sides. Endgame tablebases in all cases identify the absolute best move in all positions included (identifying the move that wins fastest against perfect defense, or the move that loses slowest against optimal opposition). Such tablebases are available for all 3-6 man positions (counting the kings) and some 7-man combinations. When the manoeuvering in an ending to achieve an irreversible improvement takes more moves than the horizon of calculation of a chess engine, an engine is not guaranteed to find the best move without the use of an endgame tablebase, and in many cases can fall foul of the 50 move rule as a result. Some experts have pointed out the potential for faulty use of endgame tablebases by programmers, leading to worse play.

[edit] Comparison between engines

[edit] Tournaments

The results of computer tournaments, such as the World Computer Chess Championship, give one view of the relative strengths of chess engines. However, tournaments do not play a statistically significant number of games for accurate strength determination. In fact, the number of games that need to be played between fairly evenly matched engines, in order to achieve significance, runs into the thousands and is , therefore, impractible within the framework of a tournament [1]. Most tournaments also allow any types of hardware, so only engine/hardware combinations are being compared.

Historically, commercial programs have been the strongest engines. The 2007 WCCC was won by Rybka. To some extent, this is a self-fulfilling prophecy; if an amateur engine wins a tournament or otherwise performs well (for example, Zappa in 2005), then it is quickly commercialized.

[edit] Chess engine rating lists

Chess engine rating lists aim to provide statistically significant measures of relative engine strength. These lists play multiple games between engines on standard hardware platforms, so that processor differences are factored out. These lists not only provide a ranking, but also margins of error on the given ratings. Also rating lists typically play games continuously, publishing many updates per year, compared to tournaments which only take place annually.

[edit] Test suites

Engines can be tested by measuring their performance on specific positions. Typical is the use of test suites, where for each given position there is one best move to find. These positions can be geared towards positional, tactical or endgame play. The Nolot test suite, for instance, focuses on deep sacrifices. [7] Then there are the BT2450 and BT2630 test suites by Hubert Bednorz and Fred Toennissen. These suites measure the tactical capability of the engine[8] and have been used at least by REBEL.[9] There is also a general test suite called Brilliancy by Dana Turnmire. The suite has been compiled mostly from How to Reassess Your Chess Workbook.[10]

[edit] Engine categories

Ikarus and Ferret, both private engines, were past winners of the World Computer Speed Chess Championship.

[edit] Freely available chess engines

There are hundreds of freely available chess engines which conform to one of the above communication protocols. Many run on Windows or are open source. A few of the strongest are listed here. Others may be found by examining the rating lists or external links.

Elo ratings taken from CCRL 40/40, retrieved in November 2007.

  • Alaric (v707 Elo 2752) by Peter Fendrich (SE)
  • Aristarch (v4.50 Elo 2698) by Stefan Zipproth (DE)
  • Baron (v1.8.1 Elo 2625) by Richard Pijl (NL)
  • Crafty (v21.5 Elo 2631 - 22.1 now available) by Bob Hyatt (US)
  • Delfi (v5.2 Elo 2756) by Philippe Fabiani (FR)
  • Fruit (v2.3.1 Elo 2863) by Fabien Letouzey (FR)
  • Gaia by Jean-francois Romang and David Rabel (FR)
  • Gambit Fruit (derived from Fruit by Fabien Letouzey/Bryan Hofmann (FR/US)
  • Glaurung (v1.2.1 Elo 2726) by Tord Romstad (NO)
  • Ktulu ( (v4.2) by Rahman Paidar (IR)
  • List (v5.12 Elo 2720) by Fritz Reul (DE)
  • Movei (v0.08.438 Elo 2748) by Uri Blass (IL)
  • Naum (v1.91 Elo 2704) by Aleksandar Naumov (RS/CA)
  • Pharaon (3.5.1 Elo 2708) by Franck Zibi (FR)
  • ProDeo (v1.2 Elo 2689) by Ed Schröder (NL)
  • Ruffian (v1.0.5 Elo 2711) by Per-Ola Valfridsson (SE)
  • Rybka (v.10 (free version) Elo 2920) by Vasik Rajlich (CZ/US)
  • Scorpio (v1.9 Elo 2754) by Daniel Shawul (ET)
  • Sjeng (also the engine in Mac OS X Chess) by Gian-Carlo Pascutto (BE)
  • Slow Chess (vBlitz WV2.1 Elo 2740) by Jonathan Kreuzer (US)
  • Spike (v1.2 Turin Elo 2855) by Volker Böhm and Ralf Schäfer (DE)
  • Strelka (v1.8 Elo 2867) by Yuri Osipov (RU)
  • Toga II (v1.3.4 Elo 2868) derived from Fruit by Fabien Letouzey/Thomas Gaksch (FR/DE)
  • Wildcat (v7 Elo 2730) by Igor Korshunov (RU)
  • Zappa (v1.1 (free version) Elo 2687) by Anthony Cozzie (US)

[edit] Pedagogical engines

These open source chess programs were expressly written to teach the craft of chess programming.

[edit] Commercial programs

These chess programs are sold commercially. Most of these also include their own user interface.

[edit] Dedicated hardware

These chess playing systems include custom hardware or run on supercomputers. All but Hydra are also historical; chess supercomputers have not competed in computer tournaments since the demise of Deep Blue in the mid-nineties.

[edit] Commercial dedicated computers

In the 1980s and early 1990s, there was a competitive market for strong dedicated chess computers. Many form-factors were sold, from handheld peg-board computers to wooden auto-sensory boards with state-of-the-art processors. This market changed in the mid-90s when the economical embedded processors in dedicated chess computers could no longer compete with the fast processors in personal computers. Nowadays, most dedicated units sold are of beginner and intermediate strength.

  • Chess Challenger, a line of chess computers sold by Fidelity Electronics from 1980 to 1992. These models won the first four World Microcomputer Chess Championships.
  • Chessmachine, an ARM-based dedicated computer, which could run two engines:
  • Mephisto, a line of chess computers sold by Hegener & Glaser. The units programmed by Richard Lang won six consecutive World Microcomputer Chess Championships. They bought out Fidelity in 1989.
  • Novag sells a line of tactically strong computers, including the Constellation, Sapphire, and Star Diamond brands.
  • Saitek sells mid-range units of intermediate strength. They bought out Hegener & Glaser and its Mephisto brand in 1994.
  • Excalibur sells a line of intermediate strength units. Excalibur was started in 1992 by the son of the founder of Fidelity Electronics.

[edit] Historical programs

These chess programs run on obsolete hardware.

[edit] See also

[edit] External links