@real_one_chess_king/game-logic
Version:
R.O.C.K. chess game logic
17 lines (16 loc) • 396 B
TypeScript
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;
};