Added work for battleship game.