Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usumerican/engine
https://github.com/usumerican/engine
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/usumerican/engine
- Owner: usumerican
- License: gpl-3.0
- Created: 2024-06-04T11:17:16.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-15T14:43:39.000Z (8 months ago)
- Last Synced: 2024-11-07T19:19:02.638Z (3 months ago)
- Language: Zig
- Homepage: https://usumerican.github.io/engine/
- Size: 138 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Z Shogi
Z Shogi は、[Zig](https://ziglang.org/) で実装されたシンプルな将棋エンジンです。
USI 対応の将棋 GUI ソフトで利用できる実行可能ファイルと、WebAssembly 版ライブラリを使った Web アプリを提供しています。
将棋プログラミングについては、[やねうら王](https://github.com/yaneurao/YaneuraOu)を参考にしました。
## 開発
実行可能ファイルのビルドには、Zig が必要です。
```
zig build --release=fast
./zig-out/bin/zshogi
```WebAssembly 版ライブラリと Web アプリのビルドには、Node.js も必要です。
```
npm run zig:test
npm run zig:wasm
npm run lib
npm run test
npm run build
npm run preview
```