Python Minesweeper Program in Less than 20 minutes

preview_player
Показать описание
Python Minesweeper Program in Less than 20 minutes - speed run to create a python minesweeper program while stopping to explain the code as I go.

In my program I created a 5x5 minesweeper board where bomb positions are randomly selected. You can easily modify this program to generate a minesweeper program for other board dimensions.
Рекомендации по теме
Комментарии
Автор

you're amazing 😭. others use all the most complicated methods they could come up with it, but this really isn't so, painful, to code 💖

jell._.y
Автор

Hi, what would be the best way to implement the feature where adjacent cells that are also 0 reveal themselves? Have been trying to solve for hours.

BeansAreOk