UNPKG

@rbxts/tic-tac-toe

Version:

Modular tic-tac-toe without dependencies, because why not.

11 lines (10 loc) 400 B
export declare enum TicTacToeMoveResult { /** The game ended before the move was made. */ GAME_UNAVAILABLE = 0, /** The current player did not respond with a move, this means the active game has been cancelled. */ NO_RESPONSE = 1, /** The move the current player provided was invalid. */ INVALID = 2, /** The move was recorded successfully. */ SUCCESS = 3 }