@rbxts/tic-tac-toe
Version:
Modular tic-tac-toe without dependencies, because why not.
15 lines (14 loc) • 454 B
TypeScript
import { TicTacToeBoard } from "../TicTacToeBoard";
import { TicTacToePlayer } from "./TicTacToePlayer";
/**
* A player that makes a random move depending on the empty
* cells on the board. This is mainly for example purposes
* of how to create a player.
*/
export declare class TicTacToeRandomPlayer extends TicTacToePlayer {
/** @hidden */
makeMove(board: TicTacToeBoard): {
row: number;
col: number;
};
}