Card Deck Version 0.5

Monday, December 28, 2009 16:50

I got the urge to do some programming over the holidays and since one of my ideas was for a card game I thought I would create a deck of regular playing cards that could be used for playing any card game which uses a regular deck. Basically the deck includes all 52 cards plus 2 jokers, however how many jokers are active in the deck depends on how you initialize your deck of cards, with a integer between 0 and 2.

Since I was uncertain as to which game I would like to start with I decided to just do an individual package for the card deck which I the packaged into a jar file and can use that in a resource for my other applications. I have attached the jar file to this post for others wishinig to use this card deck for there own java applications. It contains six basic card back designs which can be used plus the acutal card faces.

Note that I have not actually tested this package yet, hence it is Version 0.5. If you happen to use this package and find bugs or updates you think might be nice, please let me know and I will do my best to implement those if I see fit. I am hoping to move on to creating my own card game using this package and thus will see how it works myself. I will update if I find anything.

Card Deck UML Diagram v 0.5

Card Deck UML Diagram v 0.5

You can view the documentation by accessing the documentation section and choosing Card Deck JavaDoc.

Download: Card Deck (jar)

Edit (Jan 3 @ 8:59PM): Updated the UML diagram to show parameters along with attribute & return types.

You can leave a response, or trackback from your own site.

Leave a Reply