Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 522 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 522 Bytes

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