

Your game runs the Stockfish program, communicating with it using Universal Chess Interface commands. Stockfish is a powerful and widely-used open-source chess engine. Here is a sketch of how I think you could proceed:Ĭreate an installer for your game that installs your Unity executable and assets in one place, and Stockfish separately. I am not an expert in this matter, so I will leave this as a community wiki to be updated by other users. Separate programs-but you have to do it properly. Helps you calculate the next best move, explore openings, all by using stockfish engine. Tools: A 5x5 minichess engine based on Stockfish. Kernel, or like an editor and a shell, then you can treat them as two For instance, the Depositphotos free image upscaler allows you to enlarge. If the two programs remain well separated, like the compiler and the That they are not combined in a way that would make them effectively a Sure that the free and non-free programs communicate at arms length, However, in many cases you can distribute the GPL-covered softwareĪlongside your proprietary system.


#Stockfish chess engine free code#
You still have other options if your game is proprietary: The move explanations dont come from Stockfish but from separate code the site created to understand the engine lines and evaluation. Redistribute, understand, and modify a program. Stockfish is an open-source project, sharing and freely distributing the code, tools and data needed to deliver this chess engine. You can import your game in PGN notation or set up a position from a FEN. The goal of the GPL is to grant everyone the freedom to copy, Reproduce and analyze your games or the positions you want. XBoard with PolyGlot, Scid, Cute Chess, eboard, Arena, Sigma Chess, Shredder, Chess Partner or Fritz) in order to be used comfortably. Stockfish is not a complete chess program and requires a UCI-compatible graphical user interface (GUI) (e.g.
#Stockfish chess engine free software#
You cannot incorporate GPL-covered software in a proprietary system. Stockfish is a free, powerful UCI chess engine derived from Glaurung 2.1. You cannot incorporate Stockfish into a proprietary product, in the sense of bundling them together so that the user perceives them as a single program - which arguably describes typical methods of using 3rd-party plugins within your Unity project. You can implement their code as a plugin in your game, as long as you plan for your game to also be GPL-licensed.
