I like the game but it always takes to long to load... I'm not great at minesweeper and I'm trying to learn the game but I can never practice because it takes to long to load... But other than that, Great Game!
After my 7th try, I finaly won! What would be cool would be a difficulty option that would let you chose the number of mines on the feild. You could have the standard 10 mines on a 10x10 feild, a medium 25 mines on a 15x15 feild, and this 50 mines on a 17x17 feild. I am pretty sure that you could do this and still keep the on-sprite, one-script status.
Please, wait until the game loads (progress can be seen in the upper left corner). There are 3 different loading phases: Drawing the board, adding to the list, and placing and finding numbers of mines.
One way to make it a little better is to have it so you can't get on mine on the first turn. That's the way it is in real minesweeper. But, great game.
The reason your project doesn't work on the web is because in your initialization loops you are looking at list items that don't exist. You need to fix your calculations to stay within the bounds of your list. For example, when calculating the mines in the last row, you're checking all around it... including the next row (which doesn't exist). That causes the web player to fail. You just need to nest some if statements to be sure you are not reading outside of your list variables.
nice! yet another good one-sprite one-scripter (btw could you look at my new music video please? nice! yet another good one-sprite one-scripter (btw could you look at my new music video please?
Nice game! For some reason in Scratch, when I was playing it in turbo speed, but not in presentation mode, I had to double-click a square to get the sprite to display the number of mines near it. Single-clicking didn't do anything until I clicked somewhere else.
lol - every first click I died. A good way to make this faster is to avoid using Repeats, they add 1/40th of a second onto the loading time. Sure, it makes the script longer but you'll get the same speeds as turbo speed after a few eliminations of repeats. Also, I noticed that online it gets stuck on the very last line.
First it stamps all the squares, then it picks random spots for the mines, then it goes through all the squares that aren't mines and finds how many mines are next to them, then it lets you click. It uses lists, that's how it's one sprite and one script.
WOW! i'm making a project which demonstrates the shapes created by trig. can you give me some good eqations? thanks. and please help me and read my latest project. help appreciated!
Download the one sprite and one script of "Minesweeper" and open it in Scratch
Project Notes
The classic game of Minesweeper Scratched.
Many thanks to BoltBait, who solved the stopped loading problem.
Please, wait until the game loads (progress can be seen in the upper left corner). There are 3 different loading phases: Drawing the board, adding to the list, and placing and finding numbers of mines.
The object of the game is to put a flag over all the mines. To start off, click somewhere. The number on the square you uncovered is the number of mines that are next to it. For example: OOM O1O OOO
The 1 shows that there is 1 mine by it. MMM M8M MMM
This has 8 mines next to it, which is the most there can be. There are 50 mines in the 289 square board. To flag a mine, press space and a flag will appear on the square that your mouse is over. Flag all 50 mines to win. If you click on a mine, you lose.
Comments
You need to be logged in to post comments
Add a Comment
Cool! I like Minesweeper. :)
wow that's only uno scripto which I believe is pure amazing and unthinkable
the list is unnecessary just take out the repeat and make one hundred ''add _to list'' blocks and it will load instantly.
check out my version (link to project)
nice job! thats only one sprite! The "long" loading time is ok but you can download it and set speed to "turbo speed"
hey you stole my picture!
(view all replies)I like the game but it always takes to long to load... I'm not great at minesweeper and I'm trying to learn the game but I can never practice because it takes to long to load... But other than that, Great Game!
After my 7th try, I finaly won! What would be cool would be a difficulty option that would let you chose the number of mines on the feild. You could have the standard 10 mines on a 10x10 feild, a medium 25 mines on a 15x15 feild, and this 50 mines on a 17x17 feild. I am pretty sure that you could do this and still keep the on-sprite, one-script status.
try to Make it all load at the same time
COOL!!
AWESOME!!!!!!!!
That need to load, and, then when happens the definitly loading, spend very time... but very good game!!! Great job!!!!
Thanks, glad you like it. I do wish it could load faster.
need 2 add a restart button. cool tho. hard 2 make i bet. tedious
u need to make it load quicker :]
WOW!
one sprite one script... :O OMG!
that's wicked cool
Shweetnesh!
Nice Saphira's eye for an avatar! I LOVE THE ERAGON SERIES!!!
(view all replies)Please, wait until the game loads (progress can be seen in the upper left corner). There are 3 different loading phases: Drawing the board, adding to the list, and placing and finding numbers of mines.
Whered u get the "Obselete" block?
It shows when you have a project that has blocks from 1.4, and you open it in 1.3. The comment below this is wrong, they are not "Hack blocks".
(view all replies)YOU CANT ITS JEST A HACK BLOCK
(view all replies)nothing happens wen i click and hit spaPr
One way to make it a little better is to have it so you can't get on mine on the first turn. That's the way it is in real minesweeper. But, great game.
nice!
this is confusing xD
whel it still haves some problems
Like what?
(view all replies)The reason your project doesn't work on the web is because in your initialization loops you are looking at list items that don't exist. You need to fix your calculations to stay within the bounds of your list. For example, when calculating the mines in the last row, you're checking all around it... including the next row (which doesn't exist). That causes the web player to fail. You just need to nest some if statements to be sure you are not reading outside of your list variables.
Thank you very much, BoltBait; It works now, thanks to you!
(view all replies)Oh... Thanks, BoltBait! I'll try to fix that... I'm glad I got some advice from an expert.
i love this game!
well why is is stucking in ½94??
Amazing!
it doesnt work but CAN U LOOK AT MY PROJECT TITLED ICE CREAM plzzz
newsflash, THAT'S WHAT SPAM IS.
if it isn't relevant, and it's asking for them to view your project, yeah, it is spam, genius.
(view all replies)the-whiz probably didn't reply because it's spam. spam is bad. learn that.
(view all replies)if you wanted it to be more efficient.
you didn't HAVE to make it one sprite one script...
I know, but I like to make one-sprite one-script projects...
(view all replies)It doesn't work.
I know. It says that in the project notes.
Sorry the video's my newest project. Thanks for watching it! (I added ur game to my 1 sprite 1 script gallery!_)
nice! yet another good one-sprite one-scripter (btw could you look at my new music video please? nice! yet another good one-sprite one-scripter (btw could you look at my new music video please?
did u change it? it doesnt work offline.
works fine online 4 me
Nice game! For some reason in Scratch, when I was playing it in turbo speed, but not in presentation mode, I had to double-click a square to get the sprite to display the number of mines near it. Single-clicking didn't do anything until I clicked somewhere else.
I think that's because when you click you first select the spite as you're going to grab it.
(view all replies)That's odd... Maybe load it in turbo speed then switch to normal speed?
lol - every first click I died. A good way to make this faster is to avoid using Repeats, they add 1/40th of a second onto the loading time. Sure, it makes the script longer but you'll get the same speeds as turbo speed after a few eliminations of repeats. Also, I noticed that online it gets stuck on the very last line.
cool
I really couldn't wait for this to load, but I'm sure it's great
Online.
(view all replies)It gets stuck loading anyway.
(view all replies)Very cool... I am to lazy to download, so I have a question... How did you make this one sprite one script? I love your projects... fascinating!
First it stamps all the squares, then it picks random spots for the mines, then it goes through all the squares that aren't mines and finds how many mines are next to them, then it lets you click. It uses lists, that's how it's one sprite and one script.
wonderful!
WOW! i'm making a project which demonstrates the shapes created by trig. can you give me some good eqations? thanks. and please help me and read my latest project. help appreciated!
Nice replica!
Thanks!
(view all replies)looks cool but I don't have much time... maybe you could make a mini pack with only 10 x 10 squares.
Maybe...
(view all replies)It takes a long time to load.