@khazh/tic-tac-toe-react
Version:
A customizable Tic Tac Toe game component for React with AI opponent, configurable board size, and win conditions
7 lines • 352 B
TypeScript
export declare const useWinLength: (initialBoardSize?: number, initialWinLength?: number) => {
winLength: number;
changeWinLength: (newWinLength: number, boardSize: number) => void;
getAvailableWinLengths: (boardSize: number) => number[];
getDefaultWinLength: (boardSize: number) => number;
};
//# sourceMappingURL=useWinLength.d.ts.map