Skip to content

stewi1014/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

Battleship is a simple two player game written in Golang, where players take turns guessing locations of enemy ships and try to sink them. It expects a monospace terminal font.

Compiling is done with

go build

To run tests, do

go test

Games can be played with a human player, ai, or some combination of the two. By default, ai boards are shown. To hide them, call battleship with the flag --no-show-ai

About

An implementation of Battleship in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages