Minesweeper has to be one of the most well-known minigames of all time, no? I spent my fair share of Sunday mornings playing minesweeper in my Windows XP computer...
Follow me on Twitter, where I write about Python, APL, and maths.
I made a remake of Minesweeper when I was trying to sharpen my Python skills and you can see above a screenshot of my version of the game.
You can find the code in this GitHub repo GitHub repo, where you can also find a Windows executable.
The game is fairly easy to play:
I hope you learned something new! If you did, consider following the footsteps of the readers who bought me a slice of pizza 🍕. Your small contribution helps me produce this content for free and without spamming you with annoying ads.