← The arcade

Mini Games · difficulty 1 of 3

Minesweeper numbers 💣

Replace every safe square with the count of mines touching it (a dot if zero). Mines stay as *.

Write it in the browser and press run. Real Python, checked against the expected output, no account needed.

Skills: loops, lists, dicts

Open the arcade