in reply to Re: Re: Using .DLL files
in thread Using .DLL files

Just so you know, CARDS.DLL has little more than the card images. It's also not a "redistributable" file, so if you want to give other people your game, only those people who already have CARDS.DLL can play it.

If you're looking for card images and card libraries, there are definitely many such things out there. Some are even under user-oriented licenses like the GPL or the Artistic license. They may be easier to incorporate than CARDS.DLL, and run on more platforms, to boot.

While you're ruminating on these topics, here's a tip: develop the logic of the game(s) separate from any presentation. Model the tableau, the deck, the hand, the player and the game as separate objects each with their own general purpose logic. Make a quick text-only interface to manipulate these objects ("2H 3H 4H 5H 6H" is a straight flush). Then you can swap out the text-only for the graphical interface when you know what route you want to take.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^4: Using .DLL files
by Petras (Friar) on Apr 26, 2003 at 04:15 UTC
    Thanks, halley, for the pointers. I'm still really new at programming and program design in general, so I appreciate the pointers. It never occured to me to think about distribution cards.dll (I'm that well assimilated).

    I'll also make note of making a text-only version first and build the GUI on top of it. It's not a bad pointer, since it's the opposite of what I would have done (stinking newbies!). Putting pictures up first just has a way of motivating things, you know? :) Not only does text-first make sense as you think about it, but you can make a smaller hide-from-the-boss version in the beginning! (I remember a linux-based game that was kinda like street fighter but all ascii characters!)

    Thanks for good pointers!
    Petras

    Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.

    -Howard Aiken