No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
all_specs_test.go
board.go
board_spec_test.go
console_ui.go
game.go
game_spec_test.go

README.md

Intro

An implementation of Connect Four in Go. I typically use this implementation to get used to testing and simple language semantics when learning a new language.

Build Status

Usage

If your GOPATH is not set, then make sure to set it to something like $HOME/gopath.

To run use the package, create a go program run.go like:

package main

import (
  . "github.com/jamiely/connect-four-go"
)

func main() {
  ConsoleUI()
}

Install the package using go get github.com/jamiely/connect-four-go.

Then, run the go application via: go run run.go

To test the application, execute:

cd src/connect_four
GOPATH=`pwd` go get github.com/orfjackal/gospec/src/gospec
GOPATH=`pwd` go test