|
-
Mar 20th, 2001, 10:10 PM
#1
Thread Starter
Lively Member
I have to make a solitare type game....but the problem is shiffling...I have these requirements.
I am Given 52 cards i order of their suits. (i.e Ace of Spades, then 2 Spades, 3, 4, 5, 6, and so on untill Hearts, Diamonds and Club.)
First I have to take N amount of cards from the Center in this case 12. So i have to remove 12 cards from the middle that is cards 20 to 31 and move these to the top of the deck then i have to take 4 cards from the center again and place them on the bottom of the deck. This has to to be repeated 4 times and i have to find out what card is on top after 4 repetitions. Help me understand this... I m trying to do it in a list box but i just can't seem o wrap my head around it.
Thanks a lot for the help in the past
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|