I wrote a version of Klondyke and Spider solitaire for Linux as an application of GRAPH. The source is carddemo.c and it is in the GRAPH tar, but you should pick up this tar and untar it in graph/appl/solitaire, since I corrected an error in carddemo.c. Besides, GRAPH tar does not have the objects and executable as they did not fit to wordpress all together. So here:
I made a short youtube video of it: