thomas-anderson-lib
Version:
A text adventure game library based on Thomas Anderson from The Matrix. Create your own Matrix-inspired text adventures with this easy-to-use library.
11 lines (10 loc) • 317 B
TypeScript
import { GameResponse } from './game/types';
export { MatrixGame } from './react/MatrixGame';
export declare class TheMatrix {
private engine;
constructor();
processCommand(input: string): GameResponse;
getScore(): number;
isGameOver(): boolean;
}
export declare function createGame(): TheMatrix;