https://www.youtube.com/watch?v=qaFGzI3K2RcSo the game is pretty much finished. I want to add a hint feature. The game lost logic isn't in it yet. I'll add that soon. It does detect a won game and I put in a hot key so I could show the "celebrate game won" animation in the video. I may add more celebrations like some of the other solitaire games do. There's a couple of other things I want to tweak, but basically this is it. In the video I'm demonstrating 3 different decks which I made just for the fun of it.
I had a lot of fun coding this game. Most of the card deck sprites on the internet have to be purchased, but I managed to find some free ones. I used jpg files that had all the cards displayed in one large file. Sometimes the images had card backs also. I loaded the jpg file using code I found that displays a jpg using PTCGraph and I grabbed the palette, saved it, and then read the individual cards, saved them individually using my own sprite format and also exported the sprites as arrays in text files to be included in units. For the last deck I made, I generated include files for the suit units that just included the individual sprite arrays. I also customized my sprite editor as different versions for each deck so I could edit the sprites as needed and export the changes. For the last deck I can just edit, export and then just rebuild the solitaire program to reflect the changes. No more cutting and pasting of text files, lol.
My next project is going to be Spider Solitaire. I'll start that this coming week.