UNPKG

tmemory

Version:

A terminal-based Memory card game built with React Ink. Features multiple grid sizes, AI opponent, and high scores.

15 lines (14 loc) 413 B
import React from 'react'; import { GameMode } from '../../types/game.js'; import { GameContextValue } from "./types.js"; interface GameProviderProps { children: React.ReactNode; initialMode?: GameMode; initialGrid?: { rows: number; cols: number; }; } export declare const GameProvider: React.FC<GameProviderProps>; export declare const useGame: () => GameContextValue; export {};