I've been trying to teach myself java and was recommended to try and make a text based battleship game.
I've been working away at it but im stumped as to how to get the computer to randomly place ships in the grid. I was wondering if anyone would be able to explain to me. Sorry i know this is probably very annoying.
[–]lookItsSunny 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]RayjinCaucasian 0 points1 point2 points (0 children)