The on screen array is hidden by a sprite, yes. The clever part is that the sprite that hides it is also the sprite that "reads" it - the tiny black dot you might be able to see in the top right corner is the reader sprite, a black dot surrounded by a thick swathe of the same colour as the background.
I am making an array game, and I am curious-Did you use different costumes for the cover sprite, or another sprite entirely? How was that dot able to both cover it up, and sense, if it is another thing entirely?
Cool. Did you hide the array in the top corner by covering it up with a sprite? if you did, then did you make that cover sprite go to the front, and on top of the pen? I am just curious to know if an on-screen array will still work, even if it is not visible.
Download "Minesweeper"(102 sprites and 303 scripts) and open it in Scratch
Project Notes
Minesweeper game. Click on a green square, and if it is not a mine, it will display a number showing how many of the 8 adjacent squares contain mines. Currently unfinished -need to increase the size of teh grid to 10 by 10. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Note for self: Every time another column of "squares" is added, increase the checksum in COUNTER by 10 and on PAINTER increase the number of repeats inside the repeat 10 loop by 1.
Comments
You need to be logged in to post comments
Add a Comment
It would be nice if you could flag. otherwise very good. have you seen my version?
(view all replies)Comment Reply
awesome!!!!!check out some of my games
(view all replies)Comment Reply
Very properly based on the actual minesweeper game...
(view all replies)Comment Reply
Too many sprites. You should use stamping.
(view all replies)Comment Reply
I did think about it, but decided it would be easier to make duplicate sprites than to program in mouse-click cordinate comparisons.
(view all replies)Comment Reply
On your version, I can actally see where the mines are before I click, making it a bit too easy...
(view all replies)Comment Reply
cool!!
(view all replies)Comment Reply
Really good way of implementing this game in scratch. Great job on the hidden array.
(view all replies)Comment Reply
Darn it, I just had a glitch... I wonder what went wrong.
(view all replies)Comment Reply
The on screen array is hidden by a sprite, yes. The clever part is that the sprite that hides it is also the sprite that "reads" it - the tiny black dot you might be able to see in the top right corner is the reader sprite, a black dot surrounded by a thick swathe of the same colour as the background.
(view all replies)Comment Reply
I am making an array game, and I am curious-Did you use different costumes for the cover sprite, or another sprite entirely? How was that dot able to both cover it up, and sense, if it is another thing entirely?
(view all replies)Comment Reply
Oh! So the cover is larger than the array itself, and just moves so the dot is over? Clever!
(view all replies)Comment Reply
Cool. Did you hide the array in the top corner by covering it up with a sprite? if you did, then did you make that cover sprite go to the front, and on top of the pen? I am just curious to know if an on-screen array will still work, even if it is not visible.
(view all replies)Comment Reply
Wow! Nice Simulation.
(view all replies)Comment Reply