Gustavo 'Gus' Carreno 28 Posted Saturday at 10:24 AM 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 2 Share this post Link to post
Patrick PREMARTIN 142 Posted 8 hours ago 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 28 Posted 31 minutes ago 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 Share this post Link to post