This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for MineSweeper

Return to MineSweeper

Nosson1459Nosson1459

2017/4/13

I would guess that you created (a bunch of) static GreenfootImages, it definitely looks like it's possible to create those images with the drawLine and fillRect the most complicated image looks the empty squares. (If you didn't use static images, then you probably could.)
danpostdanpost

2017/4/13

@Nosson1459, actually there are no static images, although I could have made two of them static. The base images of both a non-selected (which a flag can be drawn on) and a selected cell (which a number can be drawn on) could have easily have been made static. And yes, everything was done with the use of graphics drawing commands.
A new version of this scenario was uploaded on 2018-04-19 23:50:11 UTC
A new version of this scenario was uploaded on 2018-04-19 23:51:38 UTC
danpostdanpost

2018/4/19

HTML5 does not like this, I guess. Clicks stop working after a few.
A new version of this scenario was uploaded on 2018-04-20 00:05:36 UTC
nice. I pretty much gave up on mine when I realized that what I've been trying to do most likely can't be done the way I'm trying to do it. Can you publish the source so I can see how you made the 0 squares disappear?
Nevermind I figured it out (with your help) and now its up.
20BrownD20BrownD

2020/2/4

Fun game!
JeremyP02JeremyP02

2020/2/13

Minesweeper is fun but it legitimately froze my browser when I beat it.
A new version of this scenario was uploaded on 2020-02-13 15:02:58 UTC
A new version of this scenario was uploaded on 2020-02-13 15:07:38 UTC
A new version of this scenario was uploaded on 2020-02-13 15:11:37 UTC
A new version of this scenario was uploaded on 2020-02-13 15:14:29 UTC
A new version of this scenario was uploaded on 2020-02-13 15:21:46 UTC
A new version of this scenario was uploaded on 2020-02-13 15:25:06 UTC
danpostdanpost

2020/2/13

@JeremyP02, apparently there is a problem with playing sound files (wav) at this time. Removed sound to prevent freezing browser. Thx.
CoolCool

2020/2/15

Could you please be so nice and publish your code so I could learn how you got this to work without any images or actors…! Thank you.