Skip to content

mike239x/battleship

Repository files navigation

battleship

A framework for battleship game.

Installing

Clone the repo and start using it. If you use poetry you can also run poetry install.

Sanity check

$ python -c "import battleship"

Tests

You can run tests with pytest: run $ pytest in the main directory of the repo.

Game rules

See wiki page. The board size is 10 by 10, the ships to be placed are:

  • 1 ship of length 5
  • 2 ships of length 4
  • 3 ships of length 3
  • 4 ships of length 2

About

a framework for battleship game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages