#battleship #dimension #board #game #rectangular #classic #generics

spacebattleship

Implementation of the classic game Battleship with support for arbitrary dimensions and spaces through generics

1 unstable release

0.1.0 May 26, 2020

#5 in #rectangular

Apache-2.0

86KB
1.5K SLoC

SpaceBattleship

A library implementing the classic game Battleship with generic support for boards of a variety of shapes, including non-euclidian ones. Currently only basic rectangular boards are implemented here, but clients can implement their own board shapes by implemeting Dimensions.

Dependencies

~1.4–1.9MB
~42K SLoC