A simple game of Battleship, written in golang. The purpose of this repository is to serve as an entry point into coding exercises and it was especially created for scrum.orgs Applying Professional Scrum for Software Development course (www.scrum.org/apssd). The code in this repository is unfinished by design. Many thanks to Sergey https://github.com/2heoh for the original creation.
This project requires a go v1.17 or higher. To prepare to work with it, pick one of these options:
Run battleship
go run cmd/main.go
Execute tests
go test ./...
If you don't want to install anything related with golang on your system, you can run the game inside Docker instead.
docker run -it -v ${PWD}:/battleship -w /battleship golang:1.17 bash
This will run a Docker container with your battleship case study mounted into it. The container will run in interactive mode and you can execute Gradle commands from the shell (see examples below).
go run cmd/main.go
go test ./...