Battleship game approach in different languages