Black Hole Solitaire Solver is an automated solver for the card Solitaire games “Golf”, “Black Hole”, and “All in a Row” .
The interesting code in C is under the black-hole-solitaire/c-solver/ directory. There’s also some code in Perl under black-hole-solitaire/Games-Solitaire-BlackHole-Solver/ which is slower and consumes more RAM, and which has been used for prototyping interesting features.
Some related links:
-
Freecell Solver - a solver for Freecell and related solitaire games.