Sunfish4
Computer Shogi Program
Install / Use
/learn @sunfish-shogi/Sunfish4README
Sunfish
Sunfish は将棋の対局プログラムで、 Sunfish4 はその 4 作目です。
過去のバージョン
- Sunfish
- 2008 ~ 2012
- WCSC(World Computer Shogi Championship)2011 及び WCSC2012 へ出場しました。
- WCSC2012 新人賞
- Sunfish2
- 2012 ~ 2013
- WCSC2013 へ出場しました。
- Sunfish3
- 2014 ~ 2015
- WCSC2015 へ出場しました。
リリース一覧
https://github.com/sunfish-shogi/sunfish4/releases
使い方
Releases から最新版 (Latest release と書かれたバージョン) の sunfish4_v~_win64.zip をダウンロードして下さい。
ファイルを解凍後、 sunfish_usi.exe を USI 対応アプリ (Shogidokoro, Shogi GUI, ShogiBrowserQ など) に登録してください。
ビルド方法 (開発者向け)
必要なもの
- CMake
- C++ Compiler(GCC4.9/Clang/MSVC2013)
GNU Make の場合
# TARGET には "usi", "csa", "test" などを指定する。
make TARGET
Xcode の場合
# "test" の部分は "usi", "csa" などに適宜置き換える。
mkdir -p out/xcode_test # Xcode プロジェクトのディレクトリを作成
cd out/xcode_test
cmake -G Xcode ../../src/test # CMake を実行
Visual Studio の場合
Visual Studio の CMake プロジェクト を参考にして CMake をセットアップし、 CMakeSettings.txt があるフォルダを選択してください。
例えば USI のビルドをする場合は src/usi を開きます。
Makefile の Build Targets (開発者向け)
CSA クライアント
CSA プロトコルで通信するアプリケーションをビルドします。 "CSA network Protocol" を参照。
make csa # ビルド
vi config/csa.ini # 設定ファイルを記述
./sunfish_csa # 実行
USI エンジン
USI(Universal Shogi Interface) は将棋の思考エンジンと GUI アプリケーションが通信に関する規格です。 "About USI Protocol" を参照。
src/usi をビルドします。
例えば make コマンドを使う場合は次のようにします。
make usi
# デバッグモードの場合
#make usi-debug
sunfish_usi.exe または sunfish_usi を GUI アプリケーションに登録します。
ユニットテスト
make test
実験
make expt
./sunfish_expt --help
プロファイリング
make prof
ベンチマーク
make bm
./sunfish_bm
機械学習
make ln
vi config/batch_learn.ini
./sunfish_ln
開発ツール
make dev
./sunfish_dev --help
ライセンス
MIT License
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
