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 ;)
no subject
Date: 2014-10-25 04:21 pm (UTC)Looking forward to hearing more about the evil Nano ideas ;)