GoGoGo is an online multiplayer implementation of the ancient board game Go, written in Go with a machine learning AI player (inspired by AlphaGo).
Before you can build this, make sure you have the following dependencies installed:
- Make sure you have your GOPATH environment variable set.
git clone --recursive
this repository to$GOPATH/src/github.com/sekisoft/gogogo
.- Run
make build
in that directory.
- Make sure you have your GOPATH environment variable set.
git clone --recursive
this repository to%GOPATH%\src\github.com\sekisoft\gogogo
.- Run
go build
in that directory.
- If there are multiple errors, ensure your
GOPATH
is set correctly, according to Go documentation. - This repository uses git submodules. If you did not clone the repository using
git clone --recursive
, make sure you initialize the submodules by runninggit submodule update --init
.
- Install
mysql
- Create an user with username
gouser
and passwordgotest
- Create a database called
gogogo
- Ensure the database is listening on
localhost:3306
via TCP make run
- The server is now running on
localhost:3030
- Install MySQL Server
- MySQL Workbench is highly recommended for development.
- Create an user with username
gouser
and passwordgotest
- Create a database called
gogogo
- Ensure the database is listening on
localhost:3306
via TCP go run gogogo.go
- The server is now running on
localhost:3030
All settings can be changed in config/config.json