Update 04/07: It now states whether you win or lose.
I have been playing minesweeper lately in my bored moments, and I gotta say I'm pretty addicted at the moment. So I decided I'd try my hand of it in Flash. Now, it wasn't very hard but I was pretty bored so.. yeah.
There is a little bug when the grid is big. Try this : Row[18] Col[30] Mine[5] Click somewhere, it seems that there is some limit where the engine stop. Every time I reproduce it, the game freez and I can't even use [Refresh].
Also, the first click should never be a mine. Try to play with a high level of mines in a small grid.
Click on a flag should'nt count, as they are flagged as dangerous zones.
Finaly, it could be interesting to have a text field [Mines left] that indicates (Total mines - Total flags).
Your engine is excellent! Keep on the good work!
P.S.: I'm not english, so if there is something that doesn't make sens, please say it, so I can write it another way.
You could reveal the cell where mouse-up happens even if mouse-down was on another cell. That's good for ones who do a couple of initial random quick clicks.
Hehe I only understood minesweeper not that long ago. If you click a blank square (ones with no numbers or mines) all the squares around it will be erased, and same goes for all the other blank squares around the one you clicked. The numbers indicate how many mines are placed around them.
Yeah, that was my understanding, but I just get confused with the numbers. Like if theres a 1 and 2 near each other and stuff. But I only ever play it when I'm on a computer that has absolutely nothing else and I don't want to sit there bored.
Hey! I love minesweeper too I wanna try to make one this weekend, you inspired me! Well, another bug: put the row on 20 and col on 30 and after the first click in the game, the game freezes! Dunno what happened, but it's a bug I guess.
Good luck on fixing this, and keep making stuff! MK
Heh thanks mate. The reason the game freezes is because of the recursive function... I hate it how Flash shuts it all down when it's been called 256 or more times. I have an idea how to fix it though.
Try this : Row[18] Col[30] Mine[5]
Click somewhere, it seems that there is some limit where the engine stop. Every time I reproduce it, the game freez and I can't even use [Refresh].
Also, the first click should never be a mine. Try to play with a high level of mines in a small grid.
Click on a flag should'nt count, as they are flagged as dangerous zones.
Finaly, it could be interesting to have a text field [Mines left] that indicates (Total mines - Total flags).
Your engine is excellent! Keep on the good work!
P.S.: I'm not english, so if there is something that doesn't make sens, please say it, so I can write it another way.
Looks like you have made it pretty well.
Hopefully you understand now
I wanna try to make one this weekend, you inspired me!
Well, another bug: put the row on 20 and col on 30 and after the first click in the game, the game freezes! Dunno what happened, but it's a bug I guess.
Good luck on fixing this, and keep making stuff!
MK
Good luck on your minesweeper