Graph to record your shots:
Graph to show your ships:
Draw your ships on the intersections of lines, not in the squares themselves.