Place a fleet on paper and list every rule your placement code must enforce.
Consider: why must the computer's ships live in state but never on screen?
Write the bounds-check function on paper, all edge cases, before class.