:: music box plays in background, eye twinkles ::
deck of cards, funny you should mention this
i'll present you with two parcels:
a deck of cards is like an array, it consists of 52 objects, when discarded the status of the card could be regarded as 1 or used
changing the value of 52 variables is a non issue. how you will execute these changes/evaluate their new values will be the hard part. This requires the use of a flow control 'device' known as a case.
<>I have tested such an array which executed in under 3 seconds executing 20 events each containing a conditional object and a subsequent action.
<>I have also created a branching random index switching animation, which has the potential to speed up the selection of a card that isn't classified discard, and innately randomly shuffles the deck.
--why the run around, i'm building a card game..
however which i have mentioned, i have tested substantially.. etcetera.
------------------
... I'm like Imhotep but don't flaunt it.
{ edit }
(This message has been edited by ellrx (edited 06-10-2003).)