export type BoardShapeName = "rectangle" | "L_shape" | "T_shape" | "cross_shape" | "diamond" | "custom"; export const BoardShapes: Record = { rectangle: [ [1,1,1,1,1,1], [1,1,1,1,1,1], [1,1,1,1,1,1], [1,1,1,1,1,1], [1,1,1,1,1,1], ], L_shape: [ [1,1,1,0,0,0], [1,1,1,0,0,0], [1,1,1,1,1,1], [1,1,1,1,1,1], ], T_shape: [ [1,1,1,1,1,1,1], [0,0,1,1,1,0,0], [0,0,1,1,1,0,0], [0,0,1,1,1,0,0], ], cross_shape: [ [0,0,1,1,0,0], [0,0,1,1,0,0], [1,1,1,1,1,1], [0,0,1,1,0,0], [0,0,1,1,0,0], ], diamond: [ [0,0,0,1,0,0,0], [0,0,1,1,1,0,0], [0,1,1,1,1,1,0], [1,1,1,1,1,1,1], [0,1,1,1,1,1,0], [0,0,1,1,1,0,0], [0,0,0,1,0,0,0], [0,0,0,1,0,0,0], ], custom: [ [0,0,0,0,-1,0,0], [0,0,0,0,-1,0,0], [0,0,0,0,-1,0,0], [0,0,0,0,1,1,1], [0,0,0,0,1,0,0], [0,0,0,0,0,0,0], [0,0,0,0,0,0,0], [0,0,0,0,0,0,0], ] };