Gustavo 'Gus' Carreno 30 Posted July 12 Hey Y'All, With a possible code challenge in mind, I've created a framework to aid programmers with creating card games. You can find it here: objpas-card-framework Opinions, advice and PRs are very welcomed!! Especially because I'm aiming at getting a set of Delphi packages, and I need someone to create them. Cheers, Gus 3 Share this post Link to post
Patrick PREMARTIN 148 Posted July 13 I don't have installed Lazarus on my VM but I didn't see where you store the cards images in your source files. If you need some I've just created this repository from David Bellot SVG Cards with individual SVG images, PNG images and Delphi samples of use : https://github.com/DeveloppeurPascal/SVG-cards 1 Share this post Link to post
Gustavo 'Gus' Carreno 30 Posted July 14 Hey Patrick, 7 hours ago, Patrick PREMARTIN said: I don't have installed Lazarus on my VM but I didn't see where you store the cards images in your source files. If you need some I've just created this repository from David Bellot SVG Cards with individual SVG images, PNG images and Delphi samples of use : https://github.com/DeveloppeurPascal/SVG-cards Only the FrenchCard and the FrenchDeck have image support. You'll find that both have a TMemoryStream field to store the card front and the card back. It doesn't make sense to store any image data in the base classes. I'm providing the most used, the French deck, in the package as an example. But any other type of deck, that's to the programmer to extrapolate from the French example. And thanks very, very much for the card images!! I haven't done it yet, but on the README.md file, I'll have 2 sections: Algorithms and Resources. Respectively a list different types of games and a list of card images. I'll keep yours in mind and add it to the appropriate section!! Cheers, Gus 1 Share this post Link to post
Patrick PREMARTIN 148 Posted Sunday at 07:12 PM On 7/13/2025 at 6:56 PM, Patrick PREMARTIN said: If you need some I've just created this repository from David Bellot SVG Cards with individual SVG images, PNG images and Delphi samples of use : https://github.com/DeveloppeurPascal/SVG-cards And today I've added two C++Builder samples to the repository. Share this post Link to post