UNPKG

@real_one_chess_king/game-logic

Version:
5 lines (4 loc) 259 B
import { Coordinate } from "./coordinate"; export declare function fromChessToLogic(coord: string): Coordinate; export declare function fromLogicToChess(x: number, y: number): string; export declare function fromLogicArrayToChess([x, y]: Coordinate): string;