Project
Battleship (Kotlin)
Challenging
100 completions
~ 29 hours
4.3You will understand the process of developing such a complex program as a game and learn about processing user input and handling errors.
Provided by
JetBrains Academy
About
Writing games is probably one of the most exciting tasks in programming. Develop your own version of the popular "Battleship Game" to play with your friends!
Training project
This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.
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 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
6 months ago
I have learned how to structure a turn-based game in Kotlin using object-oriented principles like classes, enums, and encapsulation. This project helped me understand input validation, coordinate parsing, and state management in a console-based game. One of the biggest challenges was handling comple ...
4.3
Learners who completed this project within the Kotlin Developer course rated it as follows: