UNPKG

@rbxts/tic-tac-toe

Version:

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

13 lines (12 loc) 306 B
export declare enum TicTacToeState { /** The X player won. */ X_WON = 0, /** The O player won. */ O_WON = 1, /** The game ended in a draw. */ DRAW = 2, /** The game is still in progress. */ IN_PROGRESS = 3, /** The game was cancelled. */ CANCELLED = 4 }