Saturday, March 22, 2008

Card Game Client

I haven't forgotten NewStars! I'll have another update soon...

But I have also thrown together a card game client (modeled after Apprentice). My client allows any card set, and will support any number of connected players (eventually). I have shuffling, drawing, and playing cards (including moving cards around) done.

Here is an odd nine card hand (and I forgot to shuffle until after drawing about six cards):



The main thing I need to add is the network messages for starting the game, and reflecting playing and re-arranging cards (I have the network connectivity [listen and call], as well as the code to reflect messages to everyone).

No comments: