DRYed code in BattleshipGame object