Ambrosia Garden Archive
    • A deck of cards


      I was wondering how it would be possible to simulate a card game using coldstone. I'm talking about shuffling, drawing, making sure the same card does not come up twice, etc. I thought about assigning a number to each card, and when the number comes up, that card is drawn. If anyone has any other suggestions, please tell me.

      Thanks 🙂

      ------------------
      Surely you can't be serious!
      But I am serious, and don't call me Shirley!

    • I'd also like to hear about this. It would be useful for making an MtG simulator (since there are no Mac ones right now).

      ------------------
      "My blood hurts..." -What'sherface
      (url="http://"mailto:brob2003@earthlink.net")mailto:brob2003@earthlink.net(/url)brob2003@earthlink.net

    • :: 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).)

    • It sounds like a good idea, but I still am fuzzy as to how I would implement it into a coldstone game.

      ------------------
      Surely you can't be serious!
      But I am serious, and don't call me Shirley!

    • Quote

      Originally posted by BryceCubed:
      **It sounds like a good idea, but I still am fuzzy as to how I would implement it into a coldstone game.

      **

      idea? its lurking on my hard drive, half formed and infuriated..

      animations...know them inside out.

      ------------------

      ... I'm like Imhotep but don't flaunt it.