@rbxts/tic-tac-toe
Version:
Modular tic-tac-toe without dependencies, because why not.
27 lines (26 loc) • 720 B
TypeScript
import { TicTacToeGame } from "../TicTacToeGame";
import { TicTacToeOutput } from "./TicTacToeOutput";
/**
* Output used in testing this library, has no actual
* useful functionality.
*/
export declare class TicTacToeTestOutput implements TicTacToeOutput {
private movesMade;
private gamesStarted;
private gamesEnded;
private xWins;
private oWins;
private draws;
/** @hidden */
onMove(): void;
/** @hidden */
onGameOver(g: TicTacToeGame): void;
/** @hidden */
onGameStart(): void;
getMovesMade(): number;
getGamesStarted(): number;
getGamesEnded(): number;
getXWins(): number;
getOWins(): number;
getDraws(): number;
}