Skip to content

Pikafish · Wiki

Pikafish Wiki

Get started with Xiangqi software, analyze and review games, adjust UCI settings, and explore the search and NNUE code.

楚 河漢 界象士將炮士俥砲傌俥炮仕車馬車相仕帥砲
The earliest verifiable Xiangqi record — Two Dragons Emerging from the Sea.
From Shilin Guangji (《事林广记》).

Quick access

Xiangqi AI Knowledge

See all questions →

About Pikafish ​

Pikafish is a free, open-source Xiangqi (Chinese chess) AI engine for analyzing positions, and currently the strongest Xiangqi engine.

Pikafish derives from the chess engine Stockfish and keeps its GPL-3.0 license. Its search framework is Alpha-Beta pruning, using the variant PVS (Principal Variation Search); evaluation uses an NNUE neural network. It computes on the CPU only, independent of the graphics card.

Pikafish has no GUI: download one separately or get an all-in-one package; see Download Pikafish for each computer and mobile system. Official releases may not support Windows 7 (self-compiled gcc builds can) or 32-bit systems.

Be careful with claims that "Pikafish is paid"

Or ask exactly what you are paying for. GUIs and computing power may cost money (such as cloud computing services or some paid GUIs), but the Pikafish engine is absolutely free. Some commercial engines are copies of Pikafish; be cautious with them.

For help with a GUI or other questions, ask in the official Pikafish group (QQ group 1062380879) and describe the problem in detail. To learn more, see the official Pikafish GitHub.

Start here ​

Pikafish NNUE License ​

text
NNUE-License
Any usage of the Pikafish weights constitutes agreement to this License.

The weights file (pikafish.nnue) released with the Pikafish and the weights file further derived from them are:

1. Only for legal use, any consequences caused by any use beyond the legal scope (e.g. online cheating) shall be borne by the user.

2. No commercial use without permission.

Individuals or organizations that have been authorized, and those that have violated the license: authorization list