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...
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:
+35 chapters. +400 pages. Hundreds of examples. Over 30,000 readers!
My book “Pydon'ts” teaches you how to write elegant, expressive, and Pythonic code, to help you become a better developer. >>> Download it here 🐍🚀.