UNPKG

tmemory

Version:

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

4 lines (3 loc) 213 B
import { GameAction, GameContextState } from "./types.js"; export declare const initialState: GameContextState; export declare const gameReducer: (state: GameContextState, action: GameAction) => GameContextState;