Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.04 KB

Gogogo

Overview

Reads in Go games recorded in .sgf format and produces an SVG of the final positions in each game provided.

Created to reproduce to the sweet graphic used at the end of Netflix's AlphaGo documentary.

Getting Started

Clone the project and run the installation using npm install.

You can run the project with the default configuration like so:

$> npm start

By default the project pulls in the 5 games between AlphaGo and Lee Sedol.

Configuration

You can create and run other configurations by passing in an argument:

$> npm start -- -c ./config/mint.config.js

If you want to run this project on other .sgf files, you can use them like so:

# Default configuration
$> node bin/draw.js <file name> <file name> <file name> ...

# Custom configuration
$> node bin/draw.js -c <path to config file> <file name> <file name> <file name> ...

Samples

Close-ish approximation of the Netflix graphic

Netflix

Green is cool

Green