Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunfish-shogi/sunfish4
Computer Shogi Program
https://github.com/sunfish-shogi/sunfish4
Last synced: 2 months ago
JSON representation
Computer Shogi Program
- Host: GitHub
- URL: https://github.com/sunfish-shogi/sunfish4
- Owner: sunfish-shogi
- License: mit
- Created: 2015-10-11T14:57:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T18:16:03.000Z (over 2 years ago)
- Last Synced: 2023-08-07T18:50:46.829Z (over 1 year ago)
- Language: C++
- Size: 993 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Sunfish
=======[![Test](https://github.com/sunfish-shogi/sunfish4/actions/workflows/test.yaml/badge.svg)](https://github.com/sunfish-shogi/sunfish4/actions/workflows/test.yaml)
Sunfish is computer Shogi(Jpanese Chess) program. This is 4th version of Sunfish.
Older Versions
--------------- [Sunfish](https://github.com/sunfish-shogi/sunfish)
+ 2008 ~ 2012
+ Participated in [WCSC(World Computer Shogi Championship)2011](http://www2.computer-shogi.org/wcsc21/) and [WCSC2012](http://www2.computer-shogi.org/wcsc22/).
+ Rookie Award in WCSC2012
- [Sunfish2](https://github.com/sunfish-shogi/sunfish2)
+ 2012 ~ 2013
+ Participated in [WCSC2013](http://www2.computer-shogi.org/wcsc23/)
- [Sunfish3](https://github.com/sunfish-shogi/sunfish3)
+ 2014 ~ 2015
+ Participated in [WCSC2015](http://www2.computer-shogi.org/wcsc25/)Releases
--------https://github.com/sunfish-shogi/sunfish4/releases
Usage
-----Download latest version from [Releases](https://github.com/sunfish-shogi/sunfish4/releases).
And register `sunfish_usi.exe` to GUI Shogi application (e.g. [Shogidokoro](http://shogidokoro.starfree.jp/), [Shogi GUI](http://shogigui.siganus.com/), [ShogiBrowserQ](https://www.sbrowser-q.com/)).
Build
-----### Requirements
- CMake
- C++ Compiler(GCC4.9/Clang/MSVC2013)### GNU Make
```
make TARGET
```### Xcode
```
mkdir -p out/xcode_test
cd out/xcode_test
cmake -G Xcode ../../src/test
```### Visual Studio
See [CMake projects in Visual Studio](https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170) and setup CMake into Visual Studio, and open a folder containing CMakeSettings.txt.
For example, if you want to build USI, open `src/usi` .Build Targets
-------------### CSA Client
This is a client program of CSA network protocol.
See ["CSA network Protocol"](http://www2.computer-shogi.org/protocol/).```
make csa
vi config/csa.ini
./sunfish_csa
```### USI Engine
USI(Universal Shogi Interface) is a protocol used for communication between Shogi engine and GUI application.
See ["About USI Protocol"](http://www.geocities.jp/shogidokoro/usi.html).Build `src/usi`.
If you use `make`, execute with `usi` target as follows:```
make usi# debugging mode
#make usi-debug
```Register `sunfish_usi.exe` or `sunfish_usi` into the GUI application.
### Unit Tests
```
make test
```### Experiments
```
make expt
./sunfish_expt --help
```### Profiling
```
make prof
```### Benchmark Tests
```
make bm
./sunfish_bm
```### Machine Learning
```
make ln
vi config/batch_learn.ini
./sunfish_ln
```### Development Tool
```
make dev
./sunfish_dev --help
```License
-------MIT License