Universal Chess Interface

Last updated

The Universal Chess Interface (UCI) is an open communication protocol that enables chess engines to communicate with user interfaces. [1] [2]

Contents

History

In November 2000, the UCI protocol was released. Designed by Rudolf Huber and Stefan Meyer-Kahlen, the author of Shredder, UCI rivals the older "Chess Engine Communication Protocol" introduced with XBoard/WinBoard.

In 2002, Chessbase, the chess software company which markets Fritz, began to support UCI, which had previously been supported by only a few interfaces and engines.

As of 2021, well over 300 engines are known to directly support UCI.

Design

By design, UCI assigns some tasks to the user interface (i.e., presentation layer) which have traditionally been handled by the engine (at the business layer) itself.[ citation needed ]

Most notably, the opening book is usually expected to be handled by the UI, by simply selecting moves to play until it is out of book, and only then starting up the engine for calculation in the resulting position. UCI does not specify any on-disk format for the opening book. Different UIs usually have their own proprietary formats.[ citation needed ]

While the UI can also take responsibility for handling endgame tablebases, this is arguably better handled in the engine itself, as having tablebase information can be useful for considering possible future positions. [3]

Stefan-Meyer Kahlen's UCI protocol in Shredder uses a variation of long algebraic notation for moves. A "nullmove" from the Engine to the GUI should be sent as 0000. [4]

Examples

Features

The uci_limitstrength parameter tells engines with this feature to play at a lower level. The uci_elo parameter specifies the Elo rating at which the engine will aim to play. Engines that have implemented uci_elo include Delfi, Fritz, Hiarcs, Houdini, Junior, Rybka, Shredder, Sjeng and Stockfish.

Variants

The UCI has been modified to play some chess variants. Some of these are: [5]

Each of these protocols may also define variants of PGN and FEN. The XBoard CECP is said to require far fewer changes to support variants. [5]

See also

Related Research Articles

<span class="mw-page-title-main">Computer chess</span> Computer hardware and software capable of playing chess

Computer chess includes both hardware 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 analysis, entertainment and training. Computer chess applications that play at the level of a chess grandmaster or higher are available on hardware from supercomputers to smart phones. Standalone chess-playing machines are also available. Stockfish, GNU Chess, Fruit, and other free open source applications are available for various platforms.

<span class="mw-page-title-main">XBoard</span> Graphical user interface for chess games

XBoard is a graphical user interface chessboard for chess engines under the X Window System. It is developed and maintained as free software by the GNU project. WinBoard is a port of XBoard to run natively on Microsoft Windows.

<span class="mw-page-title-main">GNU Chess</span> Free software chess engine

GNU Chess is a free software chess engine and command-line interface chessboard. The goal of GNU Chess is to serve as a basis for research, and as such it has been used in numerous contexts.

<span class="mw-page-title-main">Minishogi</span>

Minishogi is a modern variant of shogi. The game was invented around 1970 by Shigenobu Kusumoto of Osaka, Japan. The rules are nearly identical to those of standard shogi, with the exception that it is played on a 5x5 board with a reduced number of pieces, and each player's promotion zone consists only of the rank farthest from the player.

ChessBase is a German company that develops and sells chess software, maintains a chess news site, and operates an internet chess server for online chess. Founded in 1986, it maintains and sells large-scale databases containing the moves of recorded chess games. The databases contain data from prior games and provide engine analyses of games, while endgame tablebases offer optimal play in some endgames.

<span class="mw-page-title-main">Chess engine</span> Computer program for chess analysis and game

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.

<span class="mw-page-title-main">Crafty</span>

Crafty is a chess program written by UAB professor Dr. Robert Hyatt, with continual development and assistance from Michael Byrne, Tracy Riegle, and Peter Skinner. It is directly derived from Cray Blitz, winner of the 1983 and 1986 World Computer Chess Championships. Tord Romstad, the author of Stockfish, described Crafty as "arguably the most important and influential chess program ever".

<span class="mw-page-title-main">Shredder (software)</span>

Shredder is a commercial chess engine and graphical user interface (GUI) developed in Germany by Stefan Meyer-Kahlen in 1993. Shredder won the World Microcomputer Chess Championship in 1996 and 2000, the World Computer Chess Championship in 1999 and 2003, the World Computer Speed Chess Championship in 2002, 2003, 2004, 2005, and 2007, and the World Chess Software Championship in 2010.

<i>Fritz</i> (chess) Chess software

Fritz is a German chess program originally developed for Chessbase by Frans Morsch based on his Quest program, ported to DOS, and then Windows by Mathias Feist. With version 13, Morsch retired, and his engine was first replaced by Gyula Horvath's Pandix, and then with Fritz 15, Vasik Rajlich's Rybka.

<span class="mw-page-title-main">Zappa (chess)</span> Chess software

Zappa, Zap!Chess or Zappa Mexico, is a UCI chess engine written by Anthony Cozzie, a graduate student at the University of Illinois at Urbana-Champaign. The program emphasizes sound search and a good use of multiple processors. Earlier versions of Zappa are free and the current version is available at Shredder Computer Chess.

<span class="mw-page-title-main">Stefan Meyer-Kahlen</span> German computer chess programmer

Stefan Meyer-Kahlen is a German programmer of the computer chess programs Shredder and the entire Zappa series. As of January 2017, his program had won 18 titles as World Computer Chess Champion. Four of the titles were blitz championships, and one was a Chess960 championship. He also invented the Universal Chess Interface, a chess engine protocol.

Computer shogi is a field of artificial intelligence concerned with the creation of computer programs which can play shogi. The research and development of shogi software has been carried out mainly by freelance programmers, university research groups and private companies. By 2017, the strongest programs were outperforming the strongest human players.

The Pearl Spring Chess Tournament was a double round robin chess tournament event featuring six super-GM players that took place in Nanjing, Jiangsu, China. The first edition in December 2008 was won by Veselin Topalov. According to ChessVibes website, Silvio Danailov - the manager and coach of Topalov - said the Pearl Spring tournament has been "guaranteed for five years and will enter in Grand Slam [in 2009]." The second and third tournaments in 2009 and 2010 were both won by Magnus Carlsen, with his first win being rated as one of the best performances in chess history.

<span class="mw-page-title-main">Stockfish (chess)</span> Free and open-source chess engine

Stockfish is a free and open-source chess engine, available for various desktop and mobile platforms. It can be used in chess software through the Universal Chess Interface.

<span class="mw-page-title-main">IPPOLIT</span> Open-source chess program

IPPOLIT is an open-source chess program released by authors using pseudonyms, Yakov Petrovich Golyadkin, Igor Igorovich Igoronov, Roberto Pescatore, Yusuf Ralf Weisskopf, Ivan Skavinsky Skavar, and Decembrists.

Opening book is often used to describe the database of chess openings given to computer chess programs. Such programs are quite significantly enhanced through the provision of an electronic version of an opening book. This eliminates the need for the program to calculate the best lines during approximately the first ten moves of the game, where the positions are extremely open-ended and thus computationally expensive to evaluate. As a result, it places the computer in a stronger position using considerably less resources than if it had to calculate the moves itself.

Top Chess Engine Championship, formerly known as Thoresen Chess Engines Competition, 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; from Season 7 onward it has been organized by Chessdom. It is often regarded as the Unofficial World Computer Chess Championship because of its strong participant line-up and long time-control matches on high-end hardware, giving rise to very high-class chess. The tournament has attracted nearly all the top engines compared to the World Computer Chess Championship.

<span class="mw-page-title-main">Fairy-Max</span>

Fairy-Max is a free and open source chess engine which can play orthodox chess as well as chess variants. Among its features is the ability of users to define and use their own custom variant chess pieces for use in games.

References

  1. "Chess engines". Business World Online. 2017-04-06. Retrieved 2018-06-14.
  2. Torres, JC (2014-06-23). "Lichess embraces blind players with new chess site features". SlashGear. Retrieved 2018-06-14.
  3. Chess Life. United States Chess Federation. 2003.
  4. "UCI protocol". www.wbec-ridderkerk.nl. Retrieved 2018-06-14.
  5. 1 2 Evert. "UCI protocol for chess variants". TalkChess.com.
  6. "The Universal Shogi Interface (USI)". hgm.nubati.net.
  7. "中国象棋电脑应用规范(五):中国象棋通用引擎协议". www.xqbase.com.