Re: Deck of Cards Question...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ck,

Why not simply {1,2,3,4,5...80} for the deck?
If you need extra info with the deck, you can go two dimensional or
just create a second list: {"Ace","King","Queen",...etc}.
or even
  {{"Ace","Diamonds"},{"Ace","Hearts"}, etc}
The first list acts as a pointer to the second list so you only
have to shuffle the first list.

Good luck with it.

--Al

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu