gogogo

command module
v0.0.0-...-96e6067 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2017 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL