UNPKG

@real_one_chess_king/game-logic

Version:
17 lines (16 loc) 396 B
import { Affects } from "./affect/affect.types"; import { Color } from "./color"; import { PieceType } from "./piece/piece.constants"; export declare enum TurnType { Move = "move", Skill = "skill" } export type Turn = { color: Color; type: TurnType; pieceType: PieceType; affects: Affects; timestamp: string; check?: boolean; selectedPieceType?: PieceType; };