Skip to content

stephancom/battleship

Repository files navigation

Battleship Build Status Maintainability Test Coverage

in fulfillment of a code challenge

Spec

The well-known game of Battleship

https://en.wikipedia.org/wiki/Battleship_(game)

https://www.hasbro.com/common/instruct/Battleship.pdf

https://www.youtube.com/watch?v=q0qpQ8doUp8

ship type dimensions
Carrier 5x1
Battleship 4x1
Submarine 3x1
Cruiser 3x1
PT Boat 2x1

Usage

  • install gem
  • battleship

battleship -h is available, and explains any additional configurable options.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Battleship project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

the classic game of battleship

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published