updated question.
i need to create a battleships game in java. i need advice on how to approach the grid.
so far i’ve got a frame and a panel inside it. i have