WebAssembly port of the strong shogi engine YaneuraOu. This project is based on the following repository.
Requires these HTTP headers on the top level response:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
- Hashtable: 1024 MB. You may want to check
navigator.deviceMemory
before allocating. - Threads: 32. You may want to check
navigator.hardwareConcurrency
. May be capped lower (e.g., dom.workers.maxPerDomain in Firefox). - Evaluation function: This project uses https://github.com/yaneurao/YaneuraOu/releases/tag/20190115_k-p-256-32-32 for tiny size
This project uses WebAssembly SIMD. you will need to use the following browsers.
Since Chrome 91
Only Firefox nightly
Assuming em++ (^2.0.21) is available:
npm run-script prepare
see index.html
GPLv3