GhostofCookie / BattleshipGo

A game of battleship written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status GhostofCookie codecov

With the coverage posted above, it is worth noting that the remaining code that is not covered is only the code contained within the 'main' function in Battleship.go.

Requirements

All this project requires is Golang(Go), and you can get it here.

Building and Running the Game

Build

Simply type

go build

into your teminal.

Run

Windows

./Battleship.exe

MacOS, Linux

./Battleship

Testing

To run the tests for the project, simply enter the following into the bash

go test

For tests with coverage, run the following

go test -coverprofile coverage.info

About

A game of battleship written in Go


Languages

Language:Go 100.0%