DEV Community

Cong
Cong

Posted on

2 1

Floodgateへ接続するpython-shogi

gunyarakun/python-shogiコンピュータ将棋連続対局場所 (floodgate)コンピュータ 将棋協会 (CSA)規定のTCP/IPプロトコルで接続する、Pythonによるサンプルスクリプトが見つかりました。実際に試してみたら、本当に接続ができて、対局が行われました。

python-shogi は王手、詰みの判定やKIF寄付の読み書きもできるようです。残念ながら開発は止まっているようです。

python-shogiの元になっているのは、niklasf/python-chessで、こちらは活発に開発が行われています。

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay