Oops. Sorry. It's a little over 2 screens. I realized that I needed a much more significant losing show than just the word "BOOM", so now it's a little over 2 screens. It used to fit just so.
Here's the rest of @LOSE subroutine. I need a @WIN sub, as well. This needs more obvious presence, but I was too tired, and can't come up with a good idea. Please suggest some to me, and I'll see if I can put it in action. 2+ of 2. ^_^;
Playing Coding Golf, the least amount of keystroke of a given program, can be fun. However, I still prefer clean algorithm to outright compression. I wonder if I will ever write significant sized program. All my programs so far has yet to break 100 lines, where as I see others clocked in at hundreds of lines!
Hundreds of lines. Guilty as charged.
Still, for me, writing a workable game with the least amount of lines is never my goal. I doubt I'd ever have the motivation do to so either so long as it stays readable.
Kudos to you on you accomplishment, though.
Turns out, there exist a version of minesweeper in one screen. I had to take certain shortcuts, though, so the game play suffers somewhat. I'll post it out there.