Project
Battleship with Java
Challenging
660 completions
~ 22 hours
4.4Develop your own version of the popular "Battleship Game" to play with your friends!
Provided by
JetBrains Academy
About
Writing games is probably one of the most exciting tasks in programming. While creating your first console game, you will learn about processing user input and handling errors. You will practice concepts frequently tested in technical interviews at top tech companies.
Graduate project
This project covers the core topics of the Introduction to Java course, making it sufficiently challenging to be a proud addition to your portfolio.
At least one graduate project is required to complete the course.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Review the rules and place your fist ship on the game field.
Place and arrange all the ships on the game field.
Try shelling your own ships to test the new guns.
Arrange your ships, hide them behind the fog of war, and fire at a random position.
Denote the conditions for the end of the game.
Make your game more interesting by adding another player with their own field.
Reviews
2 weeks ago
Very fun project but I would like to be more intructed on good architecture practices.
Anna Glushchenko
4 weeks ago
What I Learned:Java Core Concepts: Gained hands-on experience with fundamental Java features, including string manipulation (StringBuilder, substring), control flow, and Object-Oriented Programming (OOP) concepts like class hierarchies, polymorphism, and dynamic method dispatch.Modern Java & M ...
4.4
Learners who completed this project within the Introduction to Java course rated it as follows: