Project
Minesweeper (Kotlin)
Medium
1576 completions
~ 15 hours
4.2This project will teach you how to work with lists in Kotlin. You will be dealing with algorithms for generating the minefield and processing the player moves.
Provided by
JetBrains Academy
About
They say a minesweeper makes only two mistakes in their life: the first is their choice of occupation, and the second one is fatal. In this project, you will create your own, safe "Minesweeper" – a game that will be a brain teaser for both you and your players.
Graduate project
This project covers the core topics of the Kotlin Core 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:
Generate your first game field with mines!
Let the user enter the number of mines in the game field.
Check how many mines are around.
Implement the rules of the game.
Be a real sapper. Find all the mines.
Reviews
CF
Chad Freeman4 weeks ago
I had to overcome a few gradle issues because my JVM configuration was incompatible, so i learned a lot about that, and i went through a few different data structures while working up to stage 5
During this project, I learned the fundamentals of Kotlin programming, including working with 2D arrays for grid-based game logic, handling user input/output, and implementing algorithms like flood fill for automatic cell exploration. I also gained experience in problem decomposition by building the ...
4.2
Learners who completed this project within the Kotlin Core course rated it as follows: