Recent

Author Topic: Klondike solitaire  (Read 455 times)

TBMan

  • Sr. Member
  • ****
  • Posts: 307
Klondike solitaire
« on: August 09, 2025, 04:18:28 pm »
This is a fun project. After spending hours finding the deck graphics and then a lot of time building the individual card sprites and units for them (I automated the process) I was able to get to the point shown in the video.  I'm about done with the game logic. I have to add the deck card area and card dealing process along with the 1 or 3 card dealing option and I have to add the game lost logic.

I'll probably add a game timer and scoring system as well. With that would go the maintaining of the high scores.

I had a big fight with ChatGPT trying to get it to design my card sprites. It couldn't do it. It can draw simplistic cards using html, but not 52 cards with nice picture cards in one jpeg file.  As it was, I had to edit the picture cards for the heart suit as the jpeg file I found had decent cards, but they made mistakes with the jack, queen and king of hearts by placing some diamonds at spots where hearts should have been. It was free, so I can't complain too loud, lmao.  The card sprites have to be all in one jpeg file so I wouldn't have mismatched palettes from sprite to sprite.

Now that I have this decent looking deck of cards I can do more card games and update the ones I have done in the past.

You'll notice a random card placed there on the 4th stack, that is just for development and debugging. I'm also pressing a hot key to redeal for testing during the video.

Klondike phase 1:

https://www.youtube.com/watch?v=j1x36BSdnKA
« Last Edit: August 09, 2025, 04:20:31 pm by TBMan »
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

 

TinyPortal © 2005-2018