Qianhong

Chinese Chess for Windows


Plugin Specification

Want to write an AI engine to use with Qianhong? It's not too difficult if you have some programming experience and a Windows/DOS compiler.

It turns out that, with the addition of plugin capability, Qianhong is sort of like a WinBoard for Chinese Chess. I hadn't heard of WinBoard when I made the plugins, but the structure is pretty similar: a GUI that uses piped I/O to communicate with AI engines. Maybe Qianhong will grow into a Xiangqi WinBoard... who knows. From a glance at the WinBoard site, though, it appears that WinBoard has been around a long time and has a huge following.

The following pages describe the Qianhong plugin protocol:

The complete plugin spec (in a single, printable HTML file) is included in the Qianhong help manual (under "Program Reference").