8000 minigo/minigui at tester · artasparks/minigo · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

minigui

Folders and files

Instructions

  1. Install python requirements: pip install -r minigui/requirements.txt

  2. Download a model from our public bucket and set the path appropriately in serve.py where it says MODEL_PATH = ....

  3. Set the board size variables appropriately in serve.py and in minigui.ts. TODO: make this board size detection automatic

  4. Make sure the command at the top of serve.py actually runs and prints GTP engine ready; if not, something is wrong with the rest of the minigo setup, like virtualenv or similar.

  5. Compile the typescript. (Requires typescript compiler). Running cd minigui; tsc should find and compile the relevant files.

  6. Set your current working directory to minigo root and start the flask server.

FLASK_DEBUG=1 FLASK_APP=minigui/serve.py flask run --port 5001
  1. open localhost:5001.

  2. The buttons in the upper right that say 'Human' can be toggled to set which color Minigo will play.

0