Date: 2014-10-25 04:21 pm (UTC)
catness: (catblueeyes)
From: [personal profile] catness
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 ;)
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

Profile

izmeina: a snippet of Escher's circle of serpents (Default)
izmeina

May 2025

S M T W T F S
     123
456789 10
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 04/07/2025 12:00 am
Powered by Dreamwidth Studios