@idealic/poker-engine
Version:
Poker game engine and hand evaluator
40 lines (37 loc) • 962 B
text/typescript
export * from "./dptables";
export * from "./hashtable";
export * from "./hashtable5";
export * from "./hashtable6";
export * from "./hashtable7";
// prettier-ignore
export const binariesById = [
0x1, 0x1, 0x1, 0x1,
0x2, 0x2, 0x2, 0x2,
0x4, 0x4, 0x4, 0x4,
0x8, 0x8, 0x8, 0x8,
0x10, 0x10, 0x10, 0x10,
0x20, 0x20, 0x20, 0x20,
0x40, 0x40, 0x40, 0x40,
0x80, 0x80, 0x80, 0x80,
0x100, 0x100, 0x100, 0x100,
0x200, 0x200, 0x200, 0x200,
0x400, 0x400, 0x400, 0x400,
0x800, 0x800, 0x800, 0x800,
0x1000, 0x1000, 0x1000, 0x1000,
];
// prettier-ignore
export const suitbitById = [
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
0x1, 0x8, 0x40, 0x200,
];