public static int CountContiguous(ulong mask) { return contiguousCountTable[CardMask(mask, Clubs) | CardMask(mask, Diamonds) | CardMask(mask, Hearts) | CardMask(mask, Spades)]; }