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

Hey, thanks! So I'm thinking (thinking without checking first which makes me stupid) that I should find a good "RTFM and Beyond" tutorial.

I'll let you see the game when I'm done, if you want. If I use WIN32:API in my programming, I'm guessing the linked DLL file will only work in a windows (and maybe Lindows?) environment, right?

Thanks again,
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

Replies are listed 'Best First'.
Re: Re: Re: Using .DLL files
by halley (Prior) on Apr 21, 2003 at 13:14 UTC

    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 ]

      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