LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Poker simulator


@Jay14159265 wrote:

@ironaaron wrote:

my program will deal 5 random cards from a deck of 52 cards and display them on the interface(each card includes information about its suit and numbers,and no card can be repeated)

sufferring issue in I use HEX so card number is 1-9,A,B,C,D 

how to transform card numbers to A,2,3,4,5,6,7,8,9,10,J,Q,K


You can make it more fun by adding some images. Generating the hand is the easy part, scoring multiple hands is a more fun code challenge : ) 

 


You might want to include a wild-card (joker) or two. Of course you will want to include at least one "back of card" image as well.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 11 of 11
(119 Views)