UNPKG

rubiks-cube-mcp-server

Version:
34 lines (33 loc) 876 B
export interface CubeState { faces: { front: string[][]; back: string[][]; left: string[][]; right: string[][]; top: string[][]; bottom: string[][]; }; solved: boolean; moveHistory: string[]; } export interface CubeResponse { gameId: string; cube: CubeState; nextAction: 'manipulateCube' | 'finish' | null; } export type CubeMove = 'U' | 'D' | 'L' | 'R' | 'F' | 'B' | 'U\'' | 'D\'' | 'L\'' | 'R\'' | 'F\'' | 'B\'' | 'U2' | 'D2' | 'L2' | 'R2' | 'F2' | 'B2'; export interface GameSession { id: string; cubeState: CubeState; createdAt: number; lastActivity: number; status: 'active' | 'completed'; } export declare const COLORS: { readonly WHITE: "W"; readonly YELLOW: "Y"; readonly RED: "R"; readonly ORANGE: "O"; readonly BLUE: "B"; readonly GREEN: "G"; };