https://github.com/sugyan/tsumeshogi-solver
https://github.com/sugyan/tsumeshogi-solver
dfpn-search rust shogi tsumeshogi
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sugyan/tsumeshogi-solver
- Owner: sugyan
- License: gpl-3.0
- Created: 2021-10-24T14:56:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T01:15:05.000Z (about 3 years ago)
- Last Synced: 2025-04-06T20:52:24.979Z (6 months ago)
- Topics: dfpn-search, rust, shogi, tsumeshogi
- Language: Rust
- Homepage:
- Size: 255 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/sugyan/tsumeshogi-solver/actions/workflows/rust.yml)
# tsumeshogi-solver
```
% ./tsumeshogi-solver -v '9/9/3pp4/+r2k1p3/2L1+p4/2+R6/B8/B8/9 b 4g4s4n3l14p 1'
9/9/3pp4/+r2k1p3/2L1+p4/2+R6/B8/B8/9 b 4g4s4n3l14p 1:
P1 * * * * * * * * *
P2 * * * * * * * * *
P3 * * * -FU-FU * * * *
P4-RY * * -OU * -FU * * *
P5 * * +KY * -TO * * * *
P6 * * +RY * * * * * *
P7+KA * * * * * * * *
P8+KA * * * * * * * *
P9 * * * * * * * * *
P-00AL
+Ok("7e7b+ N*8f 7f7c")
elapsed: 35.561833ms
```### Run
```
Tsumeshogi Solver 0.6.0USAGE:
tsumeshogi-solver [OPTIONS] ...ARGS:
... Input files or SFEN stringsOPTIONS:
-h, --help Print help information
-i, --input-format Input format [default: sfen] [possible values: sfen, csa, kif]
-o, --output-format Output format [default: usi] [possible values: usi, csa, kifu]
-t, --timeout Time limit to solve (seconds)
-v, --verbose Verbose mode
-V, --version Print version information
```### Benchmark
```
cargo +nightly bench
```