Skip to content

Pikafish · Wiki

Pikafish Wiki

The free, open-source Xiangqi AI engine. Downloads, setup, engine options and Xiangqi AI knowledge.

楚 河漢 界象士將炮士俥砲傌俥炮仕車馬車相仕帥砲
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 Xiangqi positions, and it is currently the strongest Xiangqi AI engine.

Pikafish is derived from the chess engine Stockfish and inherits its GPL-3.0 open-source license. Its basic search framework is Alpha-Beta pruning, and its search algorithm is PVS (Principal Variation Search), a variant of alpha-beta pruning. For evaluation it uses a neural network with the NNUE architecture. Pikafish computes on the CPU and has nothing to do with the graphics card.

Pikafish has no GUI, so you need to download a GUI separately, or download an all-in-one package. For download and usage instructions on each computer and mobile system, see Download Pikafish. Also note that the official Pikafish releases may not support Windows 7 (builds you compile yourself with gcc can) or 32-bit systems.

Be careful with claims that "Pikafish is paid"

Or ask exactly what it is that you are paying for. Generally, a Xiangqi GUI or computing power may cost money (for example cloud computing services, or some paid GUIs), but Pikafish is only an engine, and the Pikafish engine is absolutely free. In addition, some commercial engines are copies of Pikafish, so please be cautious about commercial engines.

If you want to know how to use a particular Xiangqi GUI or have other questions, you can join the official Pikafish group (QQ group 1062380879) and describe your problem in as much detail as possible. To learn more about Pikafish, see the official Pikafish GitHub.

Further reading ​

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