Well, I think I have my deck management code ...

July 23, 2003 by Adam in NWN1

Well, I think I have my deck management code basically working. I've been adding in all the "extras" for the card game, such as being able to initiate a card game with another player, as well as arrange the cards in your deck. At this point, the cards in your deck don't matter (it's still pulling them randomly), but my hope is that I'll be able to fix that soon.

Creating the area where the cards are all layed out and can be moved in and out of your deck was a big enough hassle. There was lots of convoluted logic there, but it seems to be finally working. Managing your own deck is key to the enjoyment of the game. Otherwise it's simply a modified form of solitare.

I'm also planning for different theme decks that the different opponents will use. I'll need to create more cards in order to support them all, but I think it's doable.

As for getting new cards, I'm thinking of having an ante, where one of each player's cards is set aside until the end, with the winner taking both of them. You'll probably be able to buy "booster packs" or individual cards, at extremely inflated prices of course.

permalink| comment

Older Posts

Links

Dragon Age
Dragon Age Central

Interviews, etc.

Why We Fight

About Me

I've won multiple awards for my Neverwinter Nights modules, which I've been working on since the year 2000. In the real world, I'm a web developer for a healthcare organization. If you have any questions, feel free to contact me.