---
title: "Pikafish - Angryecho"
description: "A free and strong UCI xiangqi engine."
canonical_url: "https://www.angryecho.com/c/xiang_qi_ba/p/P2TBBkMGHoZWnXYYUvoqS"
meta:
  "og:description": "A free and strong UCI xiangqi engine."
  "og:image": "https://www.angryecho.com/_og/d/c_Post%2Ctitle_~5ZCQ5qe9572R%2Cdescription_~5ZCQ5qe95LiA5LiL77yM5bCx5LiK5ZCQ5qe9572R44CC%2CpostId_P2TBBkMGHoZWnXYYUvoqS%2Crevision_~MjAyNi0xMC0yNVQwMjo1Nzo1MC4xODM3Nzla%2Cp_Ii9jL3hpYW5nX3FpX2JhL3AvUDJUQkJrTUdIb1pXblhZWVV2b3FTIg%2Cs_tTImbUt7wEzRtb4I.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": Pikafish
---

> Index of every page on this site: [llms.txt](https://www.angryecho.com/llms.txt)

# **Pikafish**

![图片](https://pikafish.org/assets/logo_256.png)

A free and strong UCI xiangqi engine.

**[Explore Pikafish docs »](https://github.com/official-pikafish/Pikafish/wiki)**

[Report bug](https://github.com/official-pikafish/Pikafish/issues/new?assignees=&labels=&template=BUG-REPORT.yml) · [Open a discussion](https://github.com/official-pikafish/Pikafish/discussions/new) · [Discord](https://discord.com/invite/uSb3RXb7cY) · [Blog](https://pikafish.org/)

## Overview

[Pikafish](https://pikafish.org) is a **free and strong UCI xiangqi engine** derived from [Stockfish](https://github.com/official-stockfish/Stockfish) that analyzes xiangqi positions and computes the optimal moves.

Pikafish **does not include a graphical user interface** (GUI) that is required to display a chessboard and to make it easy to input moves. These GUIs are developed independently from Pikafish and are available online. **Read the documentation for your GUI** of choice for information about how to use Pikafish with it.

See also the Pikafish [documentation](https://github.com/official-pikafish/Pikafish/wiki/Download-and-usage) for further usage help.

## Files

This distribution of Pikafish consists of the following files:

- [README.md](https://github.com/official-pikafish/Pikafish/blob/master/README.md), the file you are currently reading.
- [Copying.txt](https://github.com/official-pikafish/Pikafish/blob/master/Copying.txt), a text file containing the GNU General Public License version 3.
- [AUTHORS](https://github.com/official-pikafish/Pikafish/blob/master/AUTHORS), a text file with the list of authors for the official Pikafish project.
- [src](https://github.com/official-pikafish/Pikafish/tree/master/src), a subdirectory containing the full source code, including a Makefile that can be used to compile Pikafish on Unix-like systems.
- a file with the .nnue extension, storing the neural network for the NNUE evaluation.

## Contributing

**See** **[Contributing Guide](https://github.com/official-pikafish/Pikafish/blob/master/CONTRIBUTING.md)****.**

### Donating hardware

Improving Pikafish requires a massive amount of testing. You can donate your hardware resources by installing the [Fishtest Worker](https://github.com/xyztnecniV/yolo) and viewing the current tests on [Fishtest](https://test.pikafish.org).

### Improving the code

In the [chessprogramming wiki](https://www.chessprogramming.org/Main_Page), many techniques used in Pikafish are explained with a lot of background information. The [section on Stockfish](https://www.chessprogramming.org/Stockfish) describes many features and techniques used by Stockfish. However, it is generic rather than focused on Stockfish's precise implementation.

The engine testing is done on [Fishtest](https://test.pikafish.org). If you want to help improve Pikafish, please read this [guideline](https://github.com/glinscott/fishtest/wiki/Creating-my-first-test) first, where the basics of Pikafish development are explained.

Discussions about Pikafish take place these days mainly in the Pikafish [Discord server](https://discord.com/invite/uSb3RXb7cY). This is also the best place to ask questions about the codebase and how to improve it.

## Compiling Pikafish

Pikafish has support for 32 or 64-bit CPUs, certain hardware instructions, big-endian machines such as Power PC, and other platforms.

On Unix-like systems, it should be easy to compile Pikafish directly from the source code with the included Makefile in the folder `src`. In general, it is recommended to run `make help` to see a list of make targets with corresponding descriptions.

```
cd src
make -j profile-build
```

Detailed compilation instructions for all platforms can be found in our [documentation](https://github.com/official-pikafish/Pikafish/wiki/Compiling-from-source). Our wiki also has information about the [UCI commands](https://github.com/official-pikafish/Pikafish/wiki/UCI-&-Commands) supported by Pikafish.

## Terms of use

### GNU General Public License version 3

Pikafish is free and distributed under the **[GNU General Public License version 3](https://github.com/official-pikafish/Pikafish/blob/master/Copying.txt)** (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.

The only real limitation is that whenever you distribute Pikafish 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.

## Acknowledgements

Pikafish uses neural networks trained on [data provided by the Pika Xiangqi Zero project](https://www.kaggle.com/datasets/pikacat/px0data), which is made available under the [Open Database License](https://opendatacommons.org/licenses/odbl/odbl-10.txt) (ODbL).

> 原文： [GitHub｜Pikafish](https://github.com/official-pikafish/Pikafish)

排序方式 :

### **成为第一条评论！**

Nobody's responded to this post yet. Add your thoughts and get the conversation going.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://www.angryecho.com/c/xiang_qi_ba/p/P2TBBkMGHoZWnXYYUvoqS#post","@type":"DiscussionForumPosting","commentCount":0,"dateModified":"2026-10-25T02:57:50.183Z","datePublished":"2026-10-24T19:32:20.368Z","description":"A free and strong UCI xiangqi engine.","headline":"Pikafish","isPartOf":"https://www.angryecho.com/c/xiang_qi_ba","mainEntityOfPage":"https://www.angryecho.com/c/xiang_qi_ba/p/P2TBBkMGHoZWnXYYUvoqS","text":"A free and strong UCI xiangqi engine.\n\nExplore Pikafish docs »\n\nReport bug\n·\nOpen a discussion\n·\nDiscord\n·\nBlog\n\nOverview\n\nPikafish is a free and strong UCI xiangqi engine derived from\nStockfish that analyzes xiangqi positions and computes the optimal moves.\n\nPikafish does not include a graphical user interface (GUI) that is required\nto display a chessboard and to make it easy to input moves. These GUIs are\ndeveloped independently from Pikafish and are available online. Read the\ndocumentation for your GUI of choice for information about how to use\nPikafish with it.\n\nSee also the Pikafish documentation for further usage help.\n\nFiles\n\nThis distribution of Pikafish consists of the following files:\n\n\n\n\n\nREADME.md, the file you are currently reading.\n\n\n\nCopying.txt, a text file containing the GNU General Public\nLicense version 3.\n\n\n\nAUTHORS, a text file with the list of authors for the official Pikafish project.\n\n\n\nsrc, a subdirectory containing the full source code, including a\nMakefile that can be used to compile Pikafish on Unix-like systems.\n\n\n\na file with the .nnue extension, storing the neural network for the NNUE\nevaluation.\n\nContributing\n\nSee Contributing Guide.\n\nDonating hardware\n\nImproving Pikafish requires a massive amount of testing. You can donate your\nhardware resources by installing the Fishtest Worker and viewing\nthe current tests on Fishtest.\n\nImproving the code\n\nIn the chessprogramming wiki, many techniques used in\nPikafish are explained with a lot of background information.\nThe section on Stockfish describes many features\nand techniques used by Stockfish. However, it is generic rather than\nfocused on Stockfish's precise implementation.\n\nThe engine testing is done on Fishtest.\nIf you want to help improve Pikafish, please read this guideline\nfirst, where the basics of Pikafish development are explained.\n\nDiscussions about Pikafish take place these days mainly in the Pikafish\nDiscord server. This is also the best place to ask questions\nabout the codebase and how to improve it.\n\nCompiling Pikafish\n\nPikafish has support for 32 or 64-bit CPUs, certain hardware instructions,\nbig-endian machines such as Power PC, and other platforms.\n\nOn Unix-like systems, it should be easy to compile Pikafish directly from the\nsource code with the included Makefile in the folder src. In general, it is\nrecommended to run make help to see a list of make targets with corresponding\ndescriptions.\n\ncd src\nmake -j profile-build\n\nDetailed compilation instructions for all platforms can be found in our\ndocumentation. Our wiki also has information about\nthe UCI commands supported by Pikafish.\n\nTerms of use\n\nGNU General Public License version 3\n\nPikafish is free and distributed under the\nGNU General Public License version 3 (GPL v3). Essentially,\nthis means you are free to do almost exactly what you want with the program,\nincluding distributing it among your friends, making it available for download\nfrom your website, selling it (either by itself or as part of some bigger\nsoftware package), or using it as the starting point for a software project of\nyour own.\n\nThe only real limitation is that whenever you distribute Pikafish in some way,\nyou MUST always include the license and the full source code (or a pointer to\nwhere the source code can be found) to generate the exact binary you are\ndistributing. If you make any changes to the source code, these changes must\nalso be made available under GPL v3.\n\nAcknowledgements\n\nPikafish uses neural networks trained on data provided by the Pika Xiangqi Zero\nproject, which is made available under the Open Database License (ODbL).\n\n\n\n原文：GitHub｜Pikafish","url":"https://www.angryecho.com/c/xiang_qi_ba/p/P2TBBkMGHoZWnXYYUvoqS","author":{"@type":"Person","name":"XianV","url":"https://www.angryecho.com/u/V2XXianV"},"image":["https://pikafish.org/assets/logo_256.png"],"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/DislikeAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/ViewAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/ShareAction","userInteractionCount":0}]}]}
```

## Sitemap

See the full [sitemap](https://www.angryecho.com/sitemap.md) for all pages.
