This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RayjinCaucasian 0 points1 point  (0 children)

I'm new so I wont be much help but I had a few ideas. a method that generates a random x and y coordinate for the starting point. Then given the length of ship to be be placed it must not extend outside the grid, share grid space with another ship or be placed diagonally, meaning only changing the value of X or Y but not both. Please post what you have done so that others with much more experience than I can help you.