[DGD] File access question

Kurt Nordstrom kurt at blar.net
Sat Jul 14 02:05:51 CEST 2007


Thanks for the shuffle code, it might come in handy.

It's not a CCG, it's actually an implementation of the game "Apples to
Apples".  Not sure if you know of it or not.  Basically it's a word
association game, but it requires a large number of words to keep from
getting repetitive.

-Kurt

> Hello Kurt,
>
> The card game concept sounds interesting. Is this some sort of trading
> card game? I have been thinking about using DGD to implement something
> along those lines.
>
> Here is one way, not sure if it fits your idea of clever:
>
> 1. Count the number of entries.
> 2. Generate an array with integers ranging from 0 to count - 1.
> 3. Shuffle the array.
> 4. Use the 200 first elements as line indices.
>



More information about the DGD mailing list