Skip to content
disservin edited this page Aug 26, 2023 · 40 revisions

Participating in the project

Stockfish's improvement over the last decade has been a great community effort. Nowadays most development talk takes place on Discord.

There are many ways to contribute to Stockfish:

Stockfish

If you want to contribute to Stockfish directly, you can do so in a couple of ways:

Non functional changes

These are changes that don't change the search behaviour and can be directly submitted as pull requests, for example:

  • Code cleanups
  • Comments
  • New commands

Functional changes

These change the search behaviour and lead to a different search tree.
Every functional patch (commit) has to be verified by Fishtest, our testing framework.

Follow the steps described in our Fishtest wiki, to create your first test.

Fishtest

New commits to stockfish can mostly be categorised in 2 categories:

NNUE Pytorch

NNUE Pytorch is the trainer for Stockfish's neural network. Usually changes here are tested by training a new network and testing it against the current network via Fishtest.

Donating hardware

Improving Stockfish requires a massive amount of testing. You can donate your hardware resources by installing the Fishtest Worker and view the current tests on Fishtest.


Using Stockfish in your own project

Resources

Terms of use

Stockfish is free and distributed under the GNU General Public License version 3 (GPL v3). Essentially, this means you are free to do almost exactly what you want with the program, including distributing it among your friends, making it available for download from your website, selling it (either by itself or as part of some bigger software package), or using it as the starting point for a software project of your own. This also means that you can distribute Stockfish alongside your proprietary system, but to do this validly, you must make sure that Stockfish and your program communicate at arm's length, that they are not combined in a way that would make them effectively a single program.

The only real limitation is that whenever you distribute Stockfish in some way, you MUST always include the license and the full source code (or a pointer to where the source code can be found) to generate the exact binary you are distributing. If you make any changes to the source code, these changes must also be made available under GPL v3.

Clone this wiki locally