Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: