MineSweeper

Mine sweeper is a grid-based solitaire computer game (WikiPedia:Minesweeper_%28computer_game%29). It is available in Emacs with mine-sweeper.el written by ToshihideShimayama. You can get it from archive.org (the author’s original web page has gone),

The number of mines has a hard coded limit of 100, no matter how large the grid is. If you play a big grid or want to make the game harder you can change that in the mine-start function.

Incidentally, the author’s name isn’t in the mine-sweeper.el file but is presumed from the home page in this old debian-pilot mailing list post http://lists.debian.org/debian-pilot/2000/12/msg00011.html

Better Open

A version with better open function; if space is pressed on an already open square but there are as many flags surrounding it as mines (ie either all mines are flagged or user guessed wrong) it opens the unflagged squares. Also sets mine maximum higher and adds color. mine-sweeper.el

The original mine-sweeper isn’t under a free software license. You can’t publish modified versions here.

I tried to contact the original author of mine-sweeper.el via mail. (The @yahoo.com address.) -fr

Automation

mine-sweeper-auto.el is a fun add-on for mine-sweeper.el. It gets the computer to do safe moves for you, ie. the mechanical bits of sweeping. Bind to a key like “a” and watch it go around. When it gets to only 50/50 guesses or whatever left, it leaves those to the player. Get it from

http://user42.tuxfamily.org/mine-sweeper-auto/index.html

CategoryGames