I was inspired to develop a Minesweeper because of my interest and intrigue for playing it. Just recently, a friend introduced me to Minesweeper. Since then, I have been learning the game and acquiring new skills and strategies every day.
Minesweeper is a computer game that a user can play to develop their quick-thinking skills. The program generates a random grid of mines which the user must uncover by placing flags on areas which they believe mask a mine and click safe squares to reveal strategical numbers. I built this game by utilizing semi-complex algorithms that iterate through each coordinate in a given grid to calculate the number of mines that surround it.
Flooding, which put simply is just when the revealed grid spreads out to unmask empty squares up until a perimeter of numbered squares, was my largest challenge. However, after many failed attempts, I was able to develop a semi-efficient algorithm. Looking back, I am proud of the algorithm that I developed for flooding, however, I definitely see room for the algorithm to run at a more efficient pace. I learned a lot about utilizing Python outside of the terminal by introducing the module, Pygame, to my program. I also learned a lot about problem-solving and the importance of striving through stressful moments and the value of thinking outside the box.
In the future, I hope to add more features to my version of Minesweeper, including a timer, multiple levels, and maybe even a multi-player version. I hope to implement the lessons that I have learned throughout this hackathon into future projects.
Log in or sign up for Devpost to join the conversation.