Hello,

I have programmed a card game and because
the game type has 32 cards I made a decision
to represent each card as a bit in a uint number.

That decision has made many aspects easier
for me: for example, checking if a player has
any cards of some suit is simply an &-operation
against a bit-mask.

Now I'm thinking of programming another card
games which use 36 or 52 playing cards and
of course this won't work anymore...

I wonder if 64-bit integers have been announced
for the future versions of Flash and Flash Player?

Regards
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to