private static uint CardMask(ulong cards, int suit) { return (uint)((cards >> (13 * suit)) & 0x1fffUL); }