I Remade Minesweeper in Makecode

yes I did so here. I tried my best yall

why did you click here??

Minesweeper in Makecode

7 Likes

I’ve never heard of Minesweeper, and it seems very confusing. What to do???

This is awesome!!!

What colors mean what? I started narrowing it down “blue = one bomb” (diagonals count).
Blue = 1?
Yellow = 2?
Grey = 0?

I challenge you to have it recursively check for neighbors that have 0 and auto-relveal those (if you haven’t already). “when click, check neighbors, reveal, for each revealed, check neighbors… recursive!”

This is one of the most mind-bending things about computers science and in my 20 years of software engineering, I can count on about 1 hand how many times I’ve had to do it.

you should try using the grids extensions (in default list) for better selection of tiles i think that would help with making sure that you only trigger one tile at time (so less bugs) Also pls make the numbers easier to read lol i have no idea what they mean

Woot! That took way longer than it should have. :laughing: I kept making dumb errors.

@Kikketer - Look closely; they’re numbers.

Blue = 1
Green = 2
Yellow = 3
Orange = 4
Purple = 5
Red = 6
Brown = 7
Pink = 8

4 Likes

Wow you’re a pro!

1 Like

You really recreated minesweeper

So in the original Minesweeper you uncover all the tiles while not uncovering the mines. The numbers tell you how many mines are neighboring it (orthogonally, diagonally). In this recreation you press A to uncover the mine and B to flag it or unflag it

sry if the numbers didn’t look like numbers I changed the numbers so now they look better

1 Like

if the numbers haven’t changed click here https://arcade.makecode.com/S09801-94778-63382-71157

1 Like