Diamond Mine Improve Hint
Hints that occur when no moves are available, other than placing the first diamond on the foundation is based on a left-to-right, first available basis. That is, the hint says to plays the leftmost diamond onto the foundation.
However, I think it would be better to modify to be the algorithm to suggest the lowest consecutive card to the leftmost diamond.
Example game:
I think that the 5 of diamonds should be suggested here instead of the 7 since the 6 is turned up as well.
Verifying the sub-optimal hint:
I found what I think the code is here, but I am not familiar with it, so I am hoping someone can translate for me.