what is the code for making battleships of different sizes?
You would have to change the range(5) to range (size you want).
Well, you still need to generate a random number correct? But then how do you get the second number? I was thinking that if the first number was random_row, then couldn't the second number be random_row +1 or -1? Of course it would still have to be within the range so you would need to set some conditions. Thoughts?