I recevied [".X","X."] as an input, if i understand right the input, it should look like:
Based on these discriptions of subject:
- Battleships can only be placed horizontally or vertically.
- At least one horizontal or vertical cell separates between two battleships - there are no adjacent battleships.
I don't think it is a valid board, how about your opinion ?