@ -23,4 +23,13 @@ public class Ship {
public boolean isKilled() {
return kill;
}
public boolean counter() {
//Count hits until number of hits equals ship length, then mark as killed.
numOfHits++;
if(numOfHits == length) {
kill = true;