catness: (catblueeyes)
Cat Gray ([personal profile] catness) wrote in [personal profile] izmeina 2014-10-25 04:21 pm (UTC)

What do you mean by the boolean list representing their positions? As they're drawn in a row, you don't need to store their positions on the canvas, you just draw them one by one - the Y-coordinate is the same, and the X-coordinate depends on the number of the card (not number ON the card). And the list of their states, i.e. exposed or not, is just an additional list, indexed by the number of the card. (You don't have to shuffle it together with shuffling the cards list, because none of them are exposed anyway in the beginning.)

Looking forward to hearing more about the evil Nano ideas ;)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org