@gamepark/rules-api
Version:
API to implement the rules of a board game
8 lines (7 loc) • 353 B
TypeScript
import { RulesCreator } from '../RulesCreator';
import { GameSetup } from './GameSetup';
export declare class DefaultGameSetup<Game = any, Move = any, PlayerId = any, Options = any> implements GameSetup<Game, Options> {
private readonly Rules;
constructor(Rules: RulesCreator<Game, Move, PlayerId, Options>);
setup(options: Options): any;
}