Battleship code for 6.177