A framework for battleship game.
Clone the repo and start using it.
If you use poetry you can also run poetry install
.
$ python -c "import battleship"
You can run tests with pytest: run $ pytest
in the main directory of the repo.
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