1 # Contributing to Stockfish
3 Welcome to the Stockfish project! We are excited that you are interested in
4 contributing. This document outlines the guidelines and steps to follow when
5 making contributions to Stockfish.
9 - [Building Stockfish](#building-stockfish)
10 - [Making Contributions](#making-contributions)
11 - [Reporting Issues](#reporting-issues)
12 - [Submitting Pull Requests](#submitting-pull-requests)
13 - [Code Style](#code-style)
14 - [Community and Communication](#community-and-communication)
19 In case you do not have a C++ compiler installed, you can follow the
20 instructions from our wiki.
22 - [Linux][linux-compiling-link]
23 - [Windows][windows-compiling-link]
24 - [macOS][macos-compiling-link]
26 ## Making Contributions
30 If you find a bug, please open an issue on the
31 [issue tracker][issue-tracker-link]. Be sure to include relevant information
32 like your operating system, build environment, and a detailed description of the
35 _Please note that Stockfish's development is not focused on adding new features.
36 Thus any issue regarding missing features will potentially be closed without
39 ### Submitting Pull Requests
41 - Functional changes need to be tested on fishtest. See
42 [Creating my First Test][creating-my-first-test] for more details.
43 The accompanying pull request should include a link to the test results and
46 - Non-functional changes (e.g. refactoring, code style, documentation) do not
47 need to be tested on fishtest, unless they might impact performance.
49 - Provide a clear and concise description of the changes in the pull request
52 _First time contributors should add their name to [AUTHORS](../AUTHORS)._
54 _Stockfish's development is not focused on adding new features. Thus any pull
55 request introducing new features will potentially be closed without further
60 Changes to Stockfish C++ code should respect our coding style defined by
61 [.clang-format](.clang-format). You can format your changes by running
62 `make format`. This requires clang-format version 17 to be installed on your system.
64 ## Community and Communication
66 - Join the [Stockfish discord][discord-link] to discuss ideas, issues, and
68 - Participate in the [Stockfish GitHub discussions][discussions-link] for
69 broader conversations.
73 By contributing to Stockfish, you agree that your contributions will be licensed
74 under the GNU General Public License v3.0. See [Copying.txt][copying-link] for
77 Thank you for contributing to Stockfish and helping us make it even better!
80 [copying-link]: https://github.com/official-stockfish/Stockfish/blob/master/Copying.txt
81 [discord-link]: https://discord.gg/GWDRS3kU6R
82 [discussions-link]: https://github.com/official-stockfish/Stockfish/discussions/new
83 [creating-my-first-test]: https://github.com/official-stockfish/fishtest/wiki/Creating-my-first-test#create-your-test
84 [issue-tracker-link]: https://github.com/official-stockfish/Stockfish/issues
85 [linux-compiling-link]: https://github.com/official-stockfish/Stockfish/wiki/Compiling-from-source#linux
86 [windows-compiling-link]: https://github.com/official-stockfish/Stockfish/wiki/Compiling-from-source#windows
87 [macos-compiling-link]: https://github.com/official-stockfish/Stockfish/wiki/Compiling-from-source#macos