Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

wyrd should be interested in this and anyone else; I wrote a DLL that will draw actual cards onto a surface you send by ref (Graphics object)... I saw wryd's post from last year about a BlackJack game earlier this month and wanted to have real cards vs. numbers, if you keep the size of the rectangle you send about 80 wide and 100 tall everything looks pretty good, the images I used on the face cards and jokers are pretty pathetic but they get the job done... hope someone out there can use it. This was my first attempt at doing such a graphically intense project... so let me know what you think!

 

PS, the deck shuffles itself, can have or remove jokers and can be more than one deck; the best way to initlize this would be:

 

CardsLib.Card [] myCards = new CardsLib.Deck.Cards;

[edit]Attachement removed - Please do not post binaries in attachements[/edit]

Edited by mutant

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...