Suvarna Garge (Editor)

Stockfish (chess)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
C++

Type
  
Chess engine

Developer(s)
  
Marco Costalba Joona Kiiski Gary Linscott Tord Romstad

Initial release
  
November 2, 2008; 8 years ago (2008-11-02)

Stable release
  
8 / November 1, 2016; 4 months ago (2016-11-01)

Operating system
  
Microsoft Windows macOS Linux iOS Android

Stockfish is a free and open source UCI chess engine, available for various desktop and mobile platforms. It is developed by Marco Costalba, Joona Kiiski, Gary Linscott and Tord Romstad, with many contributions from a community of open source developers.

Contents

Stockfish is consistently ranked first or near the top of most chess engine rating lists and is the strongest open source chess engine in the world. It won the unofficial world computer chess championships in 2014, season 6, and 2016 season 9. It was a runner-up in 2013 season 5, 2014 season 7, and 2015 season 8. Stockfish is derived from Glaurung, an open source engine by Romstad.

Features

Stockfish can use up to 128 CPU cores in multiprocessor systems. The maximum size of its transposition table is 1 TB. Stockfish implements an advanced alpha-beta search and uses bitboards. Compared to other engines, it is characterized by its great search depth, due in part to more aggressive pruning and late move reductions.

Stockfish supports Chess960, which is one of the features that was inherited from Glaurung. The Syzygy tablebase support, previously available in a fork maintained by Ronald de Man, was integrated into Stockfish in 2014.

History

The program originated from Glaurung, an open source chess engine created by Romstad and first released in 2004. Four years later, Costalba, inspired by the strong open source engine decided to fork the project. He named it Stockfish because it was "produced in Norway and cooked in Italy" (Costalba is an Italian, Romstad is a Norwegian). The first version, Stockfish 1.0 was released in November 2008. For a while, new ideas and code changes were transferred between the two programs in both directions, until Romstad decided to discontinue Glaurung in favor of Stockfish, which was the more advanced engine at the time. The last Glaurung version 2.2 was released in December 2008.

Around 2011, Romstad decided to abandon his involvement with Stockfish and preferred to spend his time on his new iOS chess app.

On 18 June 2014 Marco Costalba announced that he had "decided to step down as Stockfish maintainer" and asked that the community create a fork of the current version and continue its development. An official repository, managed by a volunteer group of core Stockfish developers, was created soon after and currently manages the development of the project.

Fishtest

Since 2013, Stockfish has been developed using a distributed testing framework named Fishtest, where volunteers are able to donate CPU time for testing improvements to the program.

Changes to game-playing code are accepted or rejected based on results of playing of tens of thousands of games on the framework against an older version of the program, using sequential probability ratio testing. Tests on the framework are verified using the chi-squared test, and only if the resulting p-value is not statistically significant, the test is deemed reliable.

As of November 2016, the framework has used a total of more than 508 years of CPU time to play more than 350 million chess games. After the inception of Fishtest, Stockfish incurred an explosive growth of 120 Elo points in just 12 months, propelling it to the top of all major rating lists. In Stockfish 7, FishTest author Gary Linscott was added to the official list of authors in acknowledgement of its contribution to Stockfish's strength.

Participation in TCEC

In 2013 Stockfish finished runner-up at both TCEC Seasons 4 and 5, with Superfinal scores of 23–25 first against Houdini 3 and later against Komodo 1142. Season 5 was notable for the winning Komodo team as they accepted the award posthumously for the program's creator Don Dailey, who succumbed to an illness during the final stage of the event. In his honor, the version of Stockfish that was released shortly after that season was named "Stockfish DD".

On 30 May 2014, Stockfish 170514 (a development version of Stockfish 5 with tablebase support) convincingly won TCEC Season 6, scoring 35.5-28.5 against Komodo 7x in the Superfinal. Stockfish 5 was released the following day. In TCEC Season 7, Stockfish again made the Superfinal, but lost it to Komodo with the score of 30.5-33.5. In TCEC Season 8, despite losses on time caused by buggy code, Stockfish nevertheless qualified once more for the Superfinal, but lost the ensuing 100-game match 46.5-53.5 to Komodo.

Stockfish version 8 is the winner of the 2016 Season 9 of TCEC against Houdini version 5 with the score of 54.5 versus 45.5.

Stockfish versus Nakamura

Stockfish's strength relative to the best human chess players was most apparent in a handicap match with grandmaster Hikaru Nakamura (2798-rated) in August 2014. In the first two games of the match, Nakamura had the assistance of an older version of Rybka, and in the next two games, he received White with pawn odds but no assistance. Nakamura was the world's fifth-best human chess player at the time of the match, while Stockfish was denied use of its opening book as well as endgame tablebase. Stockfish won each half of the match 1.5–0.5. Both of Stockfish's wins arose from positions in which Nakamura, as is typical of his playing style, pressed for a win instead of acquiescing to a draw.

Platforms

Release versions and development versions are available as C++ source code, and as precompiled versions for Microsoft Windows, macOS, Linux 32-bit/64-bit and Android.

Stockfish has been a very popular engine for various platforms. On the Desktop, it is the default chess engine bundled with the Internet Chess Club interface programs BlitzIn and Dasher. On the mobile platform, it has been bundled with the Stockfish app, SmallFish and Droidfish. Other Stockfish-compatible graphical user interfaces (GUIs) include Fritz, Arena, Stockfish for Mac, and PyChess. As of March 2017, Stockfish is the AI used by Lichess, a popular online chess site.

References

Stockfish (chess) Wikipedia