A virtual version of the classic pencil and paper game.
Create a fleet of warships and conceal it from a computer-generated opponent. Can you destroy their fleet before they destroy yours?
This is a copy of an interactive game created by me here. I designed it to practise mathematical algorithms and structured programming principles.
⚓ One-person game - play against a computer
⚓ Adjust your name in the "Players" class
⚓ The programme can be rewritten as an object-oriented app
⚓ Logic behind drawing ships can be simplified and methods shortened
⚓ The main method can be split into parts and shortened
⚓ Clone the repository using Git, then run it on your computer
⚓ Pro-Tip: for best functionality use the Corretto-17 Oracle OpenJDK version 17
⚓ You'll find the main method in the Game class in the src folder