C implementation of the Solitaire game