News for hackers. Stuff that matters.
Re:How to Write your own Minesweeper AI by mrgriscom on Monday December 24, 2012 @12:21AM (#4961968)
I made a similar minesweeper solver that employs many of the same techniques. It really is an interesting algorithm to play with and involves some deep delving into combinatorics and probability. Glad to see someone else had the same thought process (or obsession)!

You can play with an HTML5 demo here: http://mrgris.com/projects/minesweepr/demo/player/

One fun side-effect is that once you have the core algorithm, you realize there's no reason minesweeper must be constrained to a grid. It works just as well on hexagonal tiles or on the surface of a cube.

Re:How to Write your own Minesweeper AI by vacri on Monday December 24, 2012 @03:13AM (#4962257)
It's interesting how the grid+1 is really hard to safely get going, but once underway it progresses quickly and it's clear where the mines are.