Skip to content

AgnieszkaAureliaMarczak/Battleships

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚢 Battleships - interactive strategy game 🚢

A virtual version of the classic pencil and paper game.

🚢 General Information

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.

🚢 Features

⚓ One-person game - play against a computer

⚓ Adjust your name in the "Players" class

adjusted

🚢 Room for Improvement

⚓ 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

🚢 How To Use

⚓ 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

main

🚢 Have Fun 🚢