Project
Minesweeper (Java)
Hard
879 completions
~ 25 hours
4.2This project will teach you how to work with arrays in Java. You will be dealing with algorithms for generating the playfield and processing player moves.
Provided by
JetBrains Academy
About
You played this game when the Internet cut off, didn’t you? It is time to remember the good old days. In this project, you will create your own "Minesweeper" game. You will practice concepts frequently tested in technical interviews at top tech companies.
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:
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
AN
Anna N1 week ago
Besides the obvious "hard skill" learnings, I found this project to be a fun challenge to make! I would definitely revisit the code I have written at a later stage, to improve my code.
This project was great for learning about game state management and user interaction in Java. The biggest takeaway was understanding the necessity of two separate game grids for the "real" board and the "player's view." The main challenge was perfecting the recursive "flood fill" algorithm for revea ...
4.2
Learners who completed this project within the Java Desktop Application Developer course rated it as follows: