Click on a cell to reveal it Press z while hovering over a cell to place a flag Press x while hovering over a cell to place a ? Top left numbers are (bombs − flags) Top right numbers are how long you've been playing this round for Press the :) to start a new game The numbers on the cells indicate how many bombs are in a 1x1 space around the cell with the number on it
YIPPEE so a guide in a group i'm in challenged me to make code minesweeper after i was sending in chat an image of every minesweeper game i won (i was at #7), so i decided "Challenge accepted." and now, we have this! this code is held together by duct tape and prayers lol started this 2 days ago, finished yesterday except i also remembered that you can still get a bomb as the first cell you click, so then today i added code to prevent that and NOW it's done!