Minesweeper
A quick little project I made while testing a stack-based state machine.
How to Play
Clear the board while avoiding the hidden bombs.
- Left-click on a tile to reveal what's underneath. The revealed numbers indicate how many bombs are in the 8 neighboring tiles.
- Right-click to flag a tile as a bomb. Right-click again to remove the flag.
- Click both mouse buttons on a revealed tile to show the neighbors. If the correct number of bombs were flagged, neighboring tiles will be uncovered.
- Click the top face button to play again.
- Click the flag counter to cycle through the difficulty options
- Easy - 25 bombs. Lots of open space
- Medium - 40 bombs. A little more challenging
- Hard - 70 bombs. Good luck
Status | Released |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (2 total ratings) |
Author | bixarrio |
Genre | Puzzle |
Tags | 2D, Casual, classic, minesweeper, Mouse only, Non violent, Relaxing, Singleplayer, Unity |
Comments
Log in with itch.io to leave a comment.
A very enjoyable version of minesweeper. Managed to finish the easy difficulty. Currenly working on medium.
A few things I noticed:
1) When I leftclick+rightclick to show the neighbors, if I drag the mouse over other uncovered tiles while holding the buttons, all their neighbors are shown at the same time. I kinda expected it to be showing only the neighbors of the tile my mouse is on, not all of them. I don't know if this is a bug or intended.
2) Sometimes I uncover two tiles at the same time. I am not sure because it happened unintentionally each time, but I think this happens because I am moving my mouse too fast. EDIT: Just tested it after posting the comment. Not because of the mouse moving fast.
Thank you for the feedback!
This is a bug. Thank you, I will look into it.
I’m not sure what you mean here. Is this when you click both mouse buttons on a number? If so, this is expected. If you click both mouse buttons on a number - let’s say 2 - and you also marked 2 bombs, the game will uncover all the neighbors that are not marked. If you only marked 1 tile, then it will only show which tiles are neighboring. It does not actually uncover them
Under number 2 what I meant is that I left-click to uncover a tile, but two of them get uncovered at the same time. Happened only three-four times so far, and each time I was clicking around really fast. I thought I might be glitching out the collision detection from moving the mouse too fast, but that doesn't seem to be the case.
EDIT: Seems the problem happens when I accidentally click between two tiles. The thing is I tried clicking between two, even four, tiles on purpose, and it always uncovers only one tile.
EDIT 2: Okay, I have confirmation that it happens when I click between two tiles. I don't know what causes this because it's very rare. Things function normally when clicking between two tiles 99% of the time. Which "empty" pixel between tiles I click doesn't seem to matter. And I don't know if this is just a coincidence or not, but it only happened horizontally to me, never vertically.
Thank you so much. I will look into it
It's me again. The double tile reveal has just happened again. I wasn't between the tiles. I was clearly clicking on a tile and the one to its right got revealed, too.