e3ntity / aithena

Framework for running and benchmarking game AIs such as AlphaZero, AlphaGo and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aithena

Framework for running and benchmarking game AIs such as AlphaZero, AlphaGo and more.

Building

Building the project requires boost libraries.

aithena/ $ sudo apt-get install libboost-all-dev                  # Install dependencies
aithena/ $ mkdir build/ && cd build/
aithena/build/ $ cmake -DCMAKE_PREFIX_PATH=<path_to_libtorch> ..  # Generate build files
aithena/build/ $ make                                             # Build executable
aithena/build/ $ ./aithena-az                                     # Run program

Also for building tests, see Test.

Test

Aithena uses googletest for testing. To build the tests, the googletest github repository must be placed under extern/googletest.

aithena/ $ mkdir extern/ && cd extern/
aithena/extern/ $ git clone https://github.com/google/googletest
aithena/extern/ $ mkdir ../build/ && cd ../build/
aithena/build/ $ cmake -DCMAKE_PREFIX_PATH=<path_to_libtorch> ..
aithena/build/ $ ARGS=<gtest_args> make test

Notes

  • Do not use boards larger than 26x26

About

Framework for running and benchmarking game AIs such as AlphaZero, AlphaGo and more.


Languages

Language:C++ 98.1%Language:CMake 1.9%