Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a built in Playing Card library in .Net?

Tags:

c#

.net

Is there some built in Card graphics library built into .Net/Windows?
Is there any way to utilize the card graphics used by the various card games that come with Windows? They look really nice and it would be cool if there was some built in functionality for this.

like image 225
KingNestor Avatar asked May 31 '09 05:05

KingNestor


People also ask

How are card games printed?

These printing plates are mounted on rotating cylinders in the printing press. When the press is running, ink rollers put quick drying ink on these plates, and a rubber roller/blanket will pass over the printing plate and transfer the ink onto the paper as it passes under the rubber roller and moves through the press.

How many cards in a deck of cards?

Deck of Cards Questions - There are 52 cards in a standard deck of cards - There are 4 of each card (4 Aces, 4 Kings, 4 Queens, etc.)

Where do card games come from?

Playing cards first appeared in Europe in the 1370s, probably in Italy or Spain and certainly as imports or possessions of merchants from the Islamic Mamlūk dynasty centred in Egypt.

What is a book in playing cards?

Four cards of the same rank, e.g. four tens. In some games this is called a "book".


2 Answers

Actually there is, sort of. It's not builtin, but it is a free download from Microsoft. There are a pair of .Net project templates, one for C# and one for VB. Both include a set of card face and card back images. The C# one is here:

http://msdn.microsoft.com/en-us/vcsharp/aa336742.aspx

And the VB one is here:

http://visualstudiogallery.msdn.microsoft.com/en-us/a4747c87-2ad2-4004-99bb-2a2f5f043edd

(note: editied to fix C# link --RBarryYoung, May 31, 2009 3pm)

like image 117
RBarryYoung Avatar answered Oct 20 '22 07:10

RBarryYoung


Bit late to post on this but.. there is this one I am using http://deckofcards.codeplex.com/

like image 2
David Avatar answered Oct 20 '22 08:10

David