Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.63 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.63 KB

AlphaZero

Server baised alpha Zero server and client.

Download and Build

Build and Install the following libraries according to there installation instructuions provided in there README.md

Then compile as follows

  • Clone this reposetory and switch to the working branch as main is currently broken.
  • Compile code in AlphaZeroPytorch using cmake. like so
cmake /your/AlphaZeroPytorch/Path -DCMAKE_PREFIX_PATH=your/pytorch/path
  • build with cmake

Available Programs

Training the AI

In order to train the AI use the train excecutable provided by AlphaZeroPytorch

Run Tests

In order to run the test suite use the runTest excecutable provided by AlphaZeroPytorch

Run AI Server

In order to run the test suite use the runServer excecutable provided by AlphaZeroPytorch

Build elo Ratings

In order to build the elo ratings of the various agens use the eloRaiting excecutable provided by AlphaZeroPytorch note that the elo server must be running. It is located in the elo directory and can be run with python3 server.py

Running the Client

We recomend using the pyClient located inside the Clients folder as the other two are ether console only or designed for IOS. In order to run the pyClient navigate into Clients/pyClient and run the main.py file with python3.

Note: pyClient requires both PIL (With TkImage) and tkinter.