I want to create a battleship game. I already have a function to generate the boats, but I can not figure out how to stop them from overlapping.
Since I want to send