Miriam Smithmimsydev.hashnode.dev·Jan 5, 2023Using 2D arrays to randomly position "ships" in BattleshipsI think I'll write a Battleships game... Here’s an interesting problem: when writing a console application version of “Battleships” in Java, how do you make the ships appear in a random position on the board every time you start a new game? I had thi...121 readsJavaAdd a thoughtful commentNo comments yetBe the first to start the conversation.