SEkiSoft / gogogo

The board game Go written in Go inspired by AlphaGo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoGoGo

Build Status

GoGoGo is an online multiplayer implementation of the ancient board game Go, written in Go with a machine learning AI player (inspired by AlphaGo).

Building

Before you can build this, make sure you have the following dependencies installed:

Linux and Mac OS

  1. Make sure you have your GOPATH environment variable set.
  2. git clone --recursive this repository to $GOPATH/src/github.com/sekisoft/gogogo.
  3. Run make build in that directory.

Windows

  1. Make sure you have your GOPATH environment variable set.
  2. git clone --recursive this repository to %GOPATH%\src\github.com\sekisoft\gogogo.
  3. Run go build in that directory.

Common Build Errors:

  • 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 running git submodule update --init.

Running

Linux and Mac OS

  1. Install mysql
  2. Create an user with username gouser and password gotest
  3. Create a database called gogogo
  4. Ensure the database is listening on localhost:3306 via TCP
  5. make run
  6. The server is now running on localhost:3030

Windows

  1. Install MySQL Server
    • MySQL Workbench is highly recommended for development.
  2. Create an user with username gouser and password gotest
  3. Create a database called gogogo
  4. Ensure the database is listening on localhost:3306 via TCP
  5. go run gogogo.go
  6. The server is now running on localhost:3030

All settings can be changed in config/config.json

About

The board game Go written in Go inspired by AlphaGo.

License:MIT License


Languages

Language:Go 99.6%Language:Makefile 0.4%