Skip to content

tkaneko/miniosl

Repository files navigation

miniOSL

Python interface to OSL (open shogi library), refurbished and enhanced by C++20 with pybind11 for cooperation with numpy and pytorch.

WIP.

demo@colab

https://colab.research.google.com/drive/1orT32kOR58owC0SfhPdC0yodFdn8h2nX?usp=share_link

shogi.go(50) value, moves = shogi.eval()

integration with ipywidgets

(experimental)

pip wheel

work with source code

  • C++20 (tested with g++ 12.2.1 in manylinux_2_28, Apple clang 14.0.3)
  • Python 3.10+
  • cmake 3.22+

typical commands

  • git clone --recursive https://github.com/tkaneko/miniosl.git
  • cd miniosl
  • pip3 install -e .
    • example for envvar: CMAKE_BUILD_PARALLEL_LEVEL=4 CXX=g++-12

cui samples

api doc

api 0.1.1

tentative, the location will be subject to change in future.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages