Space to dig. Hope you don't blow up. Bombs take away a life, treasure gives you a life. Post scores in the comments!
All code by me. Any glitches? Let me know. If you like RNG data, scroll down. Also: I added a highscore thing. Credit to @FUNUT for code for highscore. I set it to 20. if this doesn't work, let me know. Another note: My brother set the highscore to 40 Bombs have a 1/5 chance to blow, Treasure has a 1/10 chance to show.