A backgammon player (artificial intelligence) built atop https://github.com/chandler37/gobackgammon and https://github.com/ajstarks/svgo (a scalable vector graphics library)
The user interface is a web server (HTTP).
TODO(chandler37): Productionize the web server; stop using ListenAndServe().
make srv
Open http://localhost:8000/ in your web browser. Click the link to begin a new game. Select your move from the list. To play against the PlayerConservative AI, just choose the topmost choice.
Copyright 2018 David L. Chandler
See the LICENSE file in this directory.
Q: Is it any good? A: Oh yes.
To play with SVG, run make build
to download the dependencies and then run
the following:
GOPATH= go install github.com/ajstarks/svgo/svgplay/...
~/go/bin/svgplay
Visit http://127.0.0.1:1999/
in your favorite web browser. Copy and paste the
contents of ./bg.go